Чат  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

SIP BEELINE Forbidden

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

Модератор: april22

Re: SIP BEELINE Forbidden

Сообщение skynetyar » 23 авг 2017, 12:36

В Билайне создали заявку,но неизвестно сколько они там будут мусолить ее..
Всё знают и всё понимают только дураки да шарлатаны.(с)А.П Чехов.
skynetyar
 
Сообщений: 389
Зарегистрирован: 18 авг 2016, 14:25

Re: SIP BEELINE Forbidden

Сообщение ded » 23 авг 2017, 12:59

ded писал(а):И, это, мы же обычно вот так, всем миром, помогаем друг-другу, а по большому счёту - помогаем зарабатывать Билайну, Мегафону, Телфину, Манго, и прочим недопровайдерам.
ded
 
Сообщений: 14182
Зарегистрирован: 26 авг 2010, 19:00

Re: SIP BEELINE Forbidden

Сообщение virus_net » 23 авг 2017, 13:21

Не хотите ждать пока спецы Билайна отработают вашу заяву ? Дык и не ждите. Рекомендации были ещё на первой странице вашего топика:
virus_net писал(а):Значит возьмите и пойдите самым простым путем -> берите softphone и тестите на нем.

skynetyar писал(а):Софтфон подключается отлично и звонит тоже отлично!

virus_net писал(а):Если добьетесь нужного результата -> переходите на * (поднимите виртуалку например) -> дамп трафика -> анализ и сравнение трафика * и softphone

найдите разницу, устраните разницу, наслаждайтесь результатом
мой SIP URI sip:virus_net@asterisk.ru
bitname.ru - Домены .bit (namecoin) .emc .coin .lib .bazar (emercoin)

ENUMER - звони бесплатно и напрямую.
virus_net
 
Сообщений: 2300
Зарегистрирован: 05 июн 2013, 08:12
Откуда: Москва

Re: SIP BEELINE Forbidden

Сообщение Zavr2008 » 23 авг 2017, 13:58

В 1000й раз наступаем на одни и те же грабли:
- регимся у прова, при этом на транке insecure=port,invite
- при этом" Входящие работают нормально"

Чудо?
Вывод прост: в сетке есть нечто очень "умное", оно делает NAT. Там наверняка сидит зараза с SIP ALG..

Остальное в топике - вода, у ТС нет ни sip debug ни внятного понятия темы Asterisk за NAT..
Asterisk-совместимые SIP/E1 шлюзы Alvis. Форумчанам - скидки, Asterisk/FreePBX + TDA/TDE/LDK/Avaya/HiPath/NEC и др. + Bitrix24/AmoCRM!
Аватар пользователя
Zavr2008
 
Сообщений: 1475
Зарегистрирован: 27 янв 2011, 01:35

Re: SIP BEELINE Forbidden

Сообщение skynetyar » 23 авг 2017, 16:59

Ежмаеж..

Ну прямой белый IP от АТС до Провайдера, нет никаких натов у нас,разница между софтфоном только в порте ,то что АТС наша упорно 50607

Вот рабочий дебаг софтфона
[Показать] Спойлер:
alwaysRouteViaOutboundProxy: 0
auth_realm:
auth_username: 96ХХХХХХ@mpbx.sip.beeline.ru
displayName: 96ХХХХХХ
domain: mpbx.sip.beeline.ru
enableRegeventDeregistration: 0
excludeEncryptedTransports: 1
ignoreCertVerification: 0
ipVersion: 0
sslVersion: 1000
maxSipPort: 0
minimumRegistrationIntervalSeconds: 20
maximumRegistrationIntervalSeconds: 1800
minSipPort: 0
nameServers:
otherNonEscapedCharsInUri:
outboundProxy: 195.239.174.100
registrationIntervalSeconds: 3600
reRegisterOnResponseTypes: REGISTER/500, REGISTER/503, REGISTER/504, REGISTER/407, REGISTER/408
sessionTimerMode: 1
sessionTimeSeconds: 0
sipQosSettings: 40
sipTransportType: 1
stunServer:
stunServerSource: 1
tcpKeepAliveTime: 30
tunnelConfig: disabled
udpKeepAliveTime: 30
useGruu: 0
useImsAuthHeader: 0
useMethodParamInReferTo: 0
useInstanceId: 0
useOutbound: 0
userAgent: X-Lite release 5.0.1 stamp 86895
useRegistrar: 1
username: 9ХХХХХХХ
useRport: 1
XCAPRoot:
useRinstance: 1


clientOutboundEnabled: 0
allowBadRegistrationEnabled: 0
AllowedEvents: talk, hold
AllowedMethods: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, OPTIONS, MESSAGE
DefaultFrom: "96ХХХХХ"<sip:96ХХХХХХХХХ@mpbx.sip.beeline.ru>
DefaultMaxRegistrationTime: 0
DefaultPublicationTime: 3600
DefaultRegistrationRetryTime: 604800
DefaultRegistrationTime: 3600
DefaultSessionTime: 0
DefaultSessionTimerMode: 1
DefaultStaleCallTime: 180
DefaultStaleReInviteTime: 40
DefaultSubscriptionTime: 3600
ExpressOutboundAsRouteSetEnabled: 0
ExtraHeadersInReferNotifySipFragEnabled: 0
FixedTransportInterface:
ForceOutboundProxyOnAllRequestsEnabled: 0
ImsAuthHost:
ImsAuthUserName:
MethodParamInReferToEnabled: 0
InstanceId: <not set>
KeepAliveTimeForDatagram: 30
KeepAliveTimeForStream: 30
OutboundProxy: <sip:195.239.174.100;lr>
OverrideHostAndPort: <not set>
RegId: 0
RinstanceEnabled: 1
RportEnabled: 1
ServiceRoute:
SupportedMimeTypes(resip::INVITE): application/sdp
SupportedOptionTags: replaces
UacReliableProvisionalMode: 0
UasReliableProvisionalMode: 0
UserAgentCapabilities: <sip:>

REGISTER sip:mpbx.sip.beeline.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.0.12:56110;branch=z9hG4bK-524287-1---59305a17e572f223;rport
Max-Forwards: 70
Contact: <sip:96ХХХХХХХХХХХХ@192.168.0.12:56110;rinstance=67739e071b785bc5>
To: "96ХХХХХХХХХ"<sip:96ХХХХХХХХХ@mpbx.sip.beeline.ru>
From: "96ХХХХХХХХ"<sip:96ХХХХХХХХХХХХ@mpbx.sip.beeline.ru>;tag=12d44b24
Call-ID: 86895ZThiMWExNjhhNDRiMmQ3OGFiN2NmYmY1Zjg4NTQyMjA
CSeq: 1 REGISTER
Expires: 3600
Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, OPTIONS, MESSAGE
User-Agent: X-Lite release 5.0.1 stamp 86895
Content-Length: 0


Знал бы я сколько Вы знаете дак и помощь не требовалась бы...
Поясните пожалуйста что мне конкретно надо сделать?
tcpdump снять? sip set debug как снять правое плечо ? у меня только внутренние пакеты показывает...
Всё знают и всё понимают только дураки да шарлатаны.(с)А.П Чехов.
skynetyar
 
Сообщений: 389
Зарегистрирован: 18 авг 2016, 14:25

Re: SIP BEELINE Forbidden

Сообщение ded » 23 авг 2017, 18:27

skynetyar писал(а):Ну прямой белый IP от АТС до Провайдера, нет никаких натов у нас
Вот так, да?

Что же Вы пишете nat=force_rport,comedia ??
Код: выделить все
username=9xxxxxxxx
type=peer
secret=(-_-)
qualify=yes
nat=force_rport,comedia
insecure=invite,port
host=mpbx.sip.beeline.ru
fromuser=9xxxxxxxx
fromdomain=mpbx.sip.beeline.ru
disallow=all
directmedia=nonat
callbackextension=9xxxxxxxxx
allow=alaw&ulaw
ded
 
Сообщений: 14182
Зарегистрирован: 26 авг 2010, 19:00

Re: SIP BEELINE Forbidden

Сообщение ded » 23 авг 2017, 18:59

skynetyar писал(а):tcpdump снять? sipmpbx.sip.beeline.ru set debug как снять правое плечо ? у меня только внутренние пакеты показывает...

sip set debug peer (ну и какой у вас пир там создан для mpbx.sip.beeline.ru)
Вы вообще там DNS resolving - lookup mpbx.sip.beeline.ru победили?
ded
 
Сообщений: 14182
Зарегистрирован: 26 авг 2010, 19:00

Re: SIP BEELINE Forbidden

Сообщение skynetyar » 24 авг 2017, 10:48

Снял лог конкретно с пира, убрал force_rport
DNS resolving - lookup mpbx.sip.beeline.ru - да это как убрал порты вроде бы не вылезало больше...

[Показать] Спойлер:
Connected to Asterisk 13.17.0 currently running on atc (pid = 3193)
atc*CLI> sip set debug peer B96ХХХХХХХХ
SIP Debugging Enabled for IP: 195.239.174.100
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Extension Changed 703[ext-local] new state InUse for Notify User 712
-- Executing [89066357777@from-internal:1] Macro("SIP/703-000019fc", "user-callerid,LIMIT") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/703-000019fc", "TOUCH_MONITOR=1503556564.7147") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/703-000019fc", "AMPUSER=703") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/703-000019fc", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/703-000019fc", "1?Set(REALCALLERIDNUM=703)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/703-000019fc", "AMPUSER=703") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/703-000019fc", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/703-000019fc", "AMPUSERCIDNAME=Evs P.S. 703") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/703-000019fc", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/703-000019fc", "AMPUSERCID=703") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/703-000019fc", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/703-000019fc", "CALLERID(all)="Evst P.S. 703" <703>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/703-000019fc", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/703-000019fc", "1?Set(GROUP(concurrency_limit)=703)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/703-000019fc", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/703-000019fc", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/703-000019fc", "CALLERID(number)=703") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/703-000019fc", "CALLERID(name)=Ev P.S. 703") in new stack
-- Executing [s@macro-user-callerid:31] GotoIf("SIP/703-000019fc", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/703-000019fc", "CDR(cnam)=Evstifeev P.S. 703") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/703-000019fc", "CDR(cnum)=703") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/703-000019fc", "CHANNEL(language)=ru") in new stack
-- Executing [89066357777@from-internal:2] Set("SIP/703-000019fc", "ROUTEUSER=703") in new stack
-- Executing [89066357777@from-internal:3] Set("SIP/703-000019fc", "ROUTEUSER=703") in new stack
-- Executing [89066357777@from-internal:4] GotoIf("SIP/703-000019fc", "1?notblind") in new stack
-- Goto (from-internal,89066357777,7)
-- Executing [89066357777@from-internal:7] GotoIf("SIP/703-000019fc", "1?restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc,89066357777,2:outbound-allroutes,89066357777,2") in new stack
-- Goto (restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc,89066357777,2)
-- Executing [89066357777@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:2] Gosub("SIP/703-000019fc", "sub-record-check,s,1(out,89066357777,yes)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/703-000019fc", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/703-000019fc", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/703-000019fc", "NOW=1503556564") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/703-000019fc", "__DAY=24") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/703-000019fc", "__MONTH=08") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/703-000019fc", "__YEAR=2017") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/703-000019fc", "__TIMESTR=20170824-093604") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/703-000019fc", "__FROMEXTEN=703") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/703-000019fc", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/703-000019fc", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/703-000019fc", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/703-000019fc", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/703-000019fc", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/703-000019fc", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/703-000019fc", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("SIP/703-000019fc", "Outbound Recording Check from 703 to 89066357777") in new stack
-- Executing [out@sub-record-check:2] Set("SIP/703-000019fc", "RECMODE=yes") in new stack
-- Executing [out@sub-record-check:3] ExecIf("SIP/703-000019fc", "0?Goto(routewins)") in new stack
-- Executing [out@sub-record-check:4] ExecIf("SIP/703-000019fc", "0?Goto(routewins)") in new stack
-- Executing [out@sub-record-check:5] Gosub("SIP/703-000019fc", "recordcheck,1(yes,out,89066357777)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/703-000019fc", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/703-000019fc", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("SIP/703-000019fc", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("SIP/703-000019fc", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("SIP/703-000019fc", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("SIP/703-000019fc", "Starting recording: out, 89066357777") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("SIP/703-000019fc", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("SIP/703-000019fc", "__CALLFILENAME=out-89066357777-703-20170824-093604-1503556564.7147") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("SIP/703-000019fc", "/mnt/backup/monitor/2017/08/24/out-89066357777-703-20170824-093604-1503556564.7147.wav,abi(LOCAL_MIXMON_ID),/etc/asterisk/scripts/mixmon-mp3-2.sh ^{YEAR} ^{MONTH} ^{DAY} ^{CALLFILENAME} ^{MIXMON_FORMAT} ^{MIXMON_DIR}") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("SIP/703-000019fc", "__MIXMON_ID=0xb238be0") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("SIP/703-000019fc", "__RECORD_ID=SIP/703-000019fc") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("SIP/703-000019fc", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("SIP/703-000019fc", "CDR(recordingfile)=out-89066357777-703-20170824-093604-1503556564.7147.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("SIP/703-000019fc", "") in new stack
-- Executing [out@sub-record-check:6] Return("SIP/703-000019fc", "") in new stack
-- Executing [89066357777@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:3] ExecIf("SIP/703-000019fc", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [89066357777@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:4] Set("SIP/703-000019fc", "MOHCLASS=default") in new stack
== Begin MixMonitor Recording SIP/703-000019fc
-- Executing [89066357777@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:5] Set("SIP/703-000019fc", "_NODEST=") in new stack
-- Executing [89066357777@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:6] Macro("SIP/703-000019fc", "dialout-trunk,65,89066357777,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/703-000019fc", "DIAL_TRUNK=65") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/703-000019fc", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/703-000019fc", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/703-000019fc", "DIAL_NUMBER=89066357777") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/703-000019fc", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/703-000019fc", "OUTBOUND_GROUP=OUT_65") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/703-000019fc", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/703-000019fc", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/703-000019fc", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/703-000019fc", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/703-000019fc", "outbound-callerid,65") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/703-000019fc", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/703-000019fc", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:3] ExecIf("SIP/703-000019fc", "0?Set(REALCALLERIDNUM=703)") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/703-000019fc", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("SIP/703-000019fc", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/703-000019fc", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] Set("SIP/703-000019fc", "TRUNKOUTCID=96ХХХХХХХХ") in new stack
-- Executing [s@macro-outbound-callerid:10] GotoIf("SIP/703-000019fc", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/703-000019fc", "1?Set(CALLERID(all)=96ХХХХХХХХ)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/703-000019fc", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/703-000019fc", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:18] ExecIf("SIP/703-000019fc", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/703-000019fc", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:20] Set("SIP/703-000019fc", "CDR(outbound_cnum)=96ХХХХХХХХ") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("SIP/703-000019fc", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/703-000019fc", "1?sub-flp-65,s,1()") in new stack
-- Executing [s@sub-flp-65:1] ExecIf("SIP/703-000019fc", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/703-000019fc", "OUTNUM=89066357777") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/703-000019fc", "custom=SIP/B96ХХХХХХХХ") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/703-000019fc", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/703-000019fc", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/703-000019fc", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/703-000019fc", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/703-000019fc", "0?skipcrm") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("SIP/703-000019fc", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [s@macro-dialout-trunk:20] Set("SIP/703-000019fc", "__CRM_DESTINATION=89066357777") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("SIP/703-000019fc", "__CRM_SOURCE=703") in new stack
-- Executing [s@macro-dialout-trunk:22] AGI("SIP/703-000019fc", "sangomacrm.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
-- <SIP/703-000019fc>AGI Script sangomacrm.agi completed, returning 0
-- Executing [s@macro-dialout-trunk:23] Set("SIP/703-000019fc", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
-- Executing [s@macro-dialout-trunk:24] NoOp("SIP/703-000019fc", "CRM Finished") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/703-000019fc", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:26] ExecIf("SIP/703-000019fc", "1?Set(CONNECTEDLINE(num,i)=89066357777)") in new stack
-- Executing [s@macro-dialout-trunk:27] ExecIf("SIP/703-000019fc", "1?Set(CONNECTEDLINE(name,i)=CID:96ХХХХХХХХ)") in new stack
-- Executing [s@macro-dialout-trunk:28] ExecIf("SIP/703-000019fc", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)96ХХХХХХХХ)") in new stack
-- Executing [s@macro-dialout-trunk:29] GotoIf("SIP/703-000019fc", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:30] Dial("SIP/703-000019fc", "SIP/B96ХХХХХХХХ/89066357777,300,T") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 10736
Adding codec ulaw to SDP
Adding codec alaw to SDP
Adding codec gsm to SDP
Adding codec g726 to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 195.239.174.100:5060:
INVITE sip:89066357777@mpbx.sip.beeline.ru:5060 SIP/2.0
Via: SIP/2.0/UDP 87.253.12.200:50607;branch=z9hG4bK17b667c1
Max-Forwards: 70
From: <sip:96ХХХХХХХХ@mpbx.sip.beeline.ru:50607>;tag=as1bc2933b
To: <sip:89066357777@mpbx.sip.beeline.ru:5060>
Contact: <sip:96ХХХХХХХХ@87.253.12.200:50607>
Call-ID: 4bb45e93085d42e26e599bac35481faf@mpbx.sip.beeline.ru
CSeq: 102 INVITE
User-Agent: FPBX-13.0.192.16(13.17.0)
Date: Thu, 24 Aug 2017 06:36:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 332

v=0
o=root 1191566116 1191566116 IN IP4 87.253.12.200
s=Asterisk PBX 13.17.0
c=IN IP4 87.253.12.200
t=0 0
m=audio 10736 RTP/AVP 0 8 3 111 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

---
-- Called SIP/B96ХХХХХХХХ/89066357777

<--- SIP read from UDP:195.239.174.100:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 87.253.12.200:50607;branch=z9hG4bK17b667c1
To: <sip:89066357777@mpbx.sip.beeline.ru:5060>;tag=h7g4Esbg_cy11trb4ct3wd9lhbf8h1ylq3v2dp43f
From: <sip:96ХХХХХХХХ@mpbx.sip.beeline.ru:50607>;tag=as1bc2933b
Call-ID: 4bb45e93085d42e26e599bac35481faf@mpbx.sip.beeline.ru
CSeq: 102 INVITE
Content-Length: 0

<------------->
--- (7 headers 0 lines) ---
Transmitting (no NAT) to 195.239.174.100:5060:
ACK sip:89066357777@mpbx.sip.beeline.ru:5060 SIP/2.0
Via: SIP/2.0/UDP 87.253.12.200:50607;branch=z9hG4bK17b667c1
Max-Forwards: 70
From: <sip:96ХХХХХХХХ@mpbx.sip.beeline.ru:50607>;tag=as1bc2933b
To: <sip:89066357777@mpbx.sip.beeline.ru:5060>;tag=h7g4Esbg_cy11trb4ct3wd9lhbf8h1ylq3v2dp43f
Contact: <sip:96ХХХХХХХХ@87.253.12.200:50607>
Call-ID: 4bb45e93085d42e26e599bac35481faf@mpbx.sip.beeline.ru
CSeq: 102 ACK
User-Agent: FPBX-13.0.192.16(13.17.0)
Content-Length: 0


---
[2017-08-24 09:36:05] WARNING[3256][C-0000044a]: chan_sip.c:24003 handle_response_invite: Received response: "Forbidden" from '<sip:96ХХХХХХХХ@mpbx.sip.beeline.ru:50607>;tag=as1bc2933b'
Scheduling destruction of SIP dialog '4bb45e93085d42e26e599bac35481faf@mpbx.sip.beeline.ru' in 6400 ms (Method: INVITE)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:31] NoOp("SIP/703-000019fc", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:32] GotoIf("SIP/703-000019fc", "1?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/703-000019fc", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/703-000019fc", "1?Set(CALLERID(number)=703)") in new stack
-- Executing [89066357777@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:7] Macro("SIP/703-000019fc", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/703-000019fc", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/703-000019fc", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/703-000019fc", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/703-000019fc", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
-- <SIP/703-000019fc> Playing 'all-circuits-busy-now.ulaw' (language 'ru')
> 0xb74e5788 -- Probation passed - setting RTP source address to 192.168.0.103:28826
[2017-08-24 09:36:07] WARNING[4207][C-0000044a]: file.c:774 ast_openstream_full: File please-try-call-later does not exist in any format
[2017-08-24 09:36:07] WARNING[4207][C-0000044a]: file.c:1247 ast_streamfile: Unable to open please-try-call-later (format (alaw)): No such file or directory
[2017-08-24 09:36:07] WARNING[4207][C-0000044a]: app_playback.c:494 playback_exec: Playback failed on SIP/703-000019fc for all-circuits-busy-now&please-try-call-later, noanswer
-- Executing [s@macro-outisbusy:5] Congestion("SIP/703-000019fc", "20") in new stack
[2017-08-24 09:36:07] WARNING[4207][C-0000044a]: channel.c:5005 ast_prod: Prodding channel 'SIP/703-000019fc' failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/703-000019fc' in macro 'outisbusy'
== Spawn extension (restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc, 89066357777, 7) exited non-zero on 'SIP/703-000019fc'
-- Executing [h@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:1] Hangup("SIP/703-000019fc", "") in new stack
== Spawn extension (restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc, h, 1) exited non-zero on 'SIP/703-000019fc'
-- SIP/703-000019fc Internal Gosub(crm-hangup,s,1) start
-- Executing [s@crm-hangup:1] NoOp("SIP/703-000019fc", "Sending Hangup to CRM") in new stack
-- Executing [s@crm-hangup:2] NoOp("SIP/703-000019fc", "HANGUP CAUSE: 34") in new stack
-- Executing [s@crm-hangup:3] ExecIf("SIP/703-000019fc", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [s@crm-hangup:4] NoOp("SIP/703-000019fc", "MASTER CHANNEL: 1503556564.7147 = 1503556564.7147") in new stack
-- Executing [s@crm-hangup:5] GotoIf("SIP/703-000019fc", "0?return") in new stack
-- Executing [s@crm-hangup:6] Set("SIP/703-000019fc", "__CRM_HANGUP=1") in new stack
-- Executing [s@crm-hangup:7] AGI("SIP/703-000019fc", "sangomacrm.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
-- <SIP/703-000019fc>AGI Script sangomacrm.agi completed, returning 0
-- Executing [s@crm-hangup:8] Return("SIP/703-000019fc", "") in new stack
== Spawn extension (restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc, h, 1) exited non-zero on 'SIP/703-000019fc'
-- SIP/703-000019fc Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
== Extension Changed 703[ext-local] new state Idle for Notify User 712
== MixMonitor close filestream (mixed)
== Executing [/etc/asterisk/scripts/mixmon-mp3-2.sh 2017 08 24 out-89066357777-703-20170824-093604-1503556564.7147 wav /mnt/backup/monitor/]
== End MixMonitor Recording SIP/703-000019fc
Really destroying SIP dialog '4bb45e93085d42e26e599bac35481faf@mpbx.sip.beeline.ru' Method: INVITE
atc*CLI> sip set debug off
SIP Debugging Disabled


Звоню с внутреннего 703 на 89066357777 через 96ХХХХХХХХ@mpbx.sip.beeline.ru ну естественно номера изменены.
Всё знают и всё понимают только дураки да шарлатаны.(с)А.П Чехов.
skynetyar
 
Сообщений: 389
Зарегистрирован: 18 авг 2016, 14:25

Re: SIP BEELINE Forbidden

Сообщение skynetyar » 24 авг 2017, 12:38

Что то тухляк какой то, софтфон тоже перестал регистрироваться :(
пля билайн....
Всё знают и всё понимают только дураки да шарлатаны.(с)А.П Чехов.
skynetyar
 
Сообщений: 389
Зарегистрирован: 18 авг 2016, 14:25

Re: SIP BEELINE Forbidden

Сообщение The Sea Capitan » 24 авг 2017, 12:57

Звонили из Билайна. Слёзно просят передать, что ждут звонка от skynetyar
The Sea Capitan
 
Сообщений: 25
Зарегистрирован: 26 авг 2015, 12:49

Пред.След.

Вернуться в Вопросы новичков

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 7

© 2008 — 2019 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH