У нас сейчас подключили SIP транк от Мегафона и провайдер просит меня сделать так чтобы Asterisk отвечал на запросы OPTIONS.
И чтобы свои запросы не посылал. Соответвенно со вторым пунктом я справился отключив qualify. Подскажите как быть с первым.
на данный момент у меня вот такая инфа в sip debug
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[Nov 1 10:30:09] Scheduling destruction of SIP dialog 'gmofdtkdn5dte99ojg99utknjmdtjjmt@SoftX3000' in 32000 ms (Method: OPTIONS)
[Nov 1 10:30:21] Really destroying SIP dialog 'tltude8n558efmu8fqef8dnoojgdkn8j@SoftX3000' Method: OPTIONS
[Nov 1 10:30:29]
[Nov 1 10:30:29] <--- SIP read from UDP:*.*.*.*:5060 --->
[Nov 1 10:30:29] OPTIONS sip:812.megafonnw.ru:5060 SIP/2.0
[Nov 1 10:30:29] Via: SIP/2.0/UDP *.*.*.*:5060;branch=z9hG4bKgq871e20dojh2k3q42u0.1
[Nov 1 10:30:29] Call-ID: ek5uujl9d8o88ueleu5odfuouq9g9uqt@SoftX3000
[Nov 1 10:30:29] From: <sip:812.megafonnw.ru:5060>;tag=k5t8t89j
[Nov 1 10:30:29] To: <sip:812.megafonnw.ru:5060>
[Nov 1 10:30:29] CSeq: 1 OPTIONS
[Nov 1 10:30:29] Max-Forwards: 69
[Nov 1 10:30:29] Content-Length: 0
[Nov 1 10:30:29]
[Nov 1 10:30:29] <------------->
[Nov 1 10:30:29] --- (8 headers 0 lines) ---
[Nov 1 10:30:29] Sending to *.*.*.*:5060 (no NAT)
[Nov 1 10:30:29] Looking for s in default (domain 812.megafonnw.ru)
[Nov 1 10:30:29]
[Nov 1 10:30:29] <--- Transmitting (no NAT) to *.*.*.*:5060 --->
[Nov 1 10:30:29] SIP/2.0 404 Not Found
[Nov 1 10:30:29] Via: SIP/2.0/UDP *.*.*.*:5060;branch=z9hG4bKgq871e20dojh2k3q42u0.1;received=*.*.*.*
[Nov 1 10:30:29] From: <sip:812.megafonnw.ru:5060>;tag=k5t8t89j
[Nov 1 10:30:29] To: <sip:812.megafonnw.ru:5060>;tag=as683b37c6
[Nov 1 10:30:29] Call-ID: ek5uujl9d8o88ueleu5odfuouq9g9uqt@SoftX3000
[Nov 1 10:30:29] CSeq: 1 OPTIONS
[Nov 1 10:30:29] Server: Asterisk PBX 13.4.0
[Nov 1 10:30:29] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Nov 1 10:30:29] Supported: replaces, timer
[Nov 1 10:30:29] Accept: application/sdp
[Nov 1 10:30:29] Content-Length: 0
[Nov 1 10:30:29]
[Nov 1 10:30:29]
[Nov 1 10:30:29] <------------>
[Nov 1 10:30:21] Really destroying SIP dialog 'tltude8n558efmu8fqef8dnoojgdkn8j@SoftX3000' Method: OPTIONS
[Nov 1 10:30:29]
[Nov 1 10:30:29] <--- SIP read from UDP:*.*.*.*:5060 --->
[Nov 1 10:30:29] OPTIONS sip:812.megafonnw.ru:5060 SIP/2.0
[Nov 1 10:30:29] Via: SIP/2.0/UDP *.*.*.*:5060;branch=z9hG4bKgq871e20dojh2k3q42u0.1
[Nov 1 10:30:29] Call-ID: ek5uujl9d8o88ueleu5odfuouq9g9uqt@SoftX3000
[Nov 1 10:30:29] From: <sip:812.megafonnw.ru:5060>;tag=k5t8t89j
[Nov 1 10:30:29] To: <sip:812.megafonnw.ru:5060>
[Nov 1 10:30:29] CSeq: 1 OPTIONS
[Nov 1 10:30:29] Max-Forwards: 69
[Nov 1 10:30:29] Content-Length: 0
[Nov 1 10:30:29]
[Nov 1 10:30:29] <------------->
[Nov 1 10:30:29] --- (8 headers 0 lines) ---
[Nov 1 10:30:29] Sending to *.*.*.*:5060 (no NAT)
[Nov 1 10:30:29] Looking for s in default (domain 812.megafonnw.ru)
[Nov 1 10:30:29]
[Nov 1 10:30:29] <--- Transmitting (no NAT) to *.*.*.*:5060 --->
[Nov 1 10:30:29] SIP/2.0 404 Not Found
[Nov 1 10:30:29] Via: SIP/2.0/UDP *.*.*.*:5060;branch=z9hG4bKgq871e20dojh2k3q42u0.1;received=*.*.*.*
[Nov 1 10:30:29] From: <sip:812.megafonnw.ru:5060>;tag=k5t8t89j
[Nov 1 10:30:29] To: <sip:812.megafonnw.ru:5060>;tag=as683b37c6
[Nov 1 10:30:29] Call-ID: ek5uujl9d8o88ueleu5odfuouq9g9uqt@SoftX3000
[Nov 1 10:30:29] CSeq: 1 OPTIONS
[Nov 1 10:30:29] Server: Asterisk PBX 13.4.0
[Nov 1 10:30:29] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Nov 1 10:30:29] Supported: replaces, timer
[Nov 1 10:30:29] Accept: application/sdp
[Nov 1 10:30:29] Content-Length: 0
[Nov 1 10:30:29]
[Nov 1 10:30:29]
[Nov 1 10:30:29] <------------>