Antwort Asterisk NOT FOUND auf OPTION-Anfrage

458

Der Remote-Server sendet mir das OPTION-Paket, aber mein Sternchenserver sendet die Antwort "404 NOT FOUND". Gibt es eine Option in der sip.conf oder etwas anderes?

sip.conf [remote-server] type=friend host=10.1.1.1 context=test qualify=yes disallow=all insecure=invite,port allowguest=yes nat=force_rport,comedia allow=g729 allow=alaw allow=ulaw allow=gsm 

anfordern:

OPTIONS sip:10.1.1.1:5060 SIP/2.0 Via: SIP/2.0/UDP 10.1.1.1:5060 Call-ID: XXXXXX@YYYYY From: <sip:AAA@10.1.1.1>;tag=1oz35123 To: <sip:10.1.1.2> CSeq: 1 OPTIONS Contact: <sip:10.1.1.1:36808;transport=udp>;expires=65535 Accept: application/sdp Max-Forwards: 70 Content-Length: 0 

Antwort:

SIP/2.0 404 Not Found Via: SIP/2.0/UDP 10.1.1.1:5060 From: <sip:<AAA@10.1.1.1>;tag=1oz35123 To: <sip:10.1.1.2>;tag=as53fc8169 Call-ID: XXXXXX@YYYYY CSeq: 1 OPTIONS Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Accept: application/sdp Content-Length: 0 
0
Wie das [Sternchen] -Tag besagt, sind Fragen wie diese für StackOverflow nicht relevant. Bitte stellen Sie Ihre Frage zu SuperUser phuzi vor 5 Jahren 0

2 Antworten auf die Frage

0

Ich habe das Hinzufügen der extension.conf zu behoben

[default] exten => s,1,NoOp( DEFAULT context ) 
0
arheops

Die Antwort auf Optionen NICHT GEFUNDEN ist für die meisten Schalter OK.

Wenn Sie s-extension im Standardkontext verwenden möchten, legen Sie aus Sicherheitsgründen besser Hangup ein.