OPTIONS/200 messages looks correct. Yes, Asterisk requires the "From:" header field to contain a valid extension to respond with a 200 to a OPTIONS request (else it'll respond with a 404).<br><br>Raj<br><br><br>
<div><span class="gmail_quote">On 3/28/07, <b class="gmail_sendername">Steve Edwards</b> <<a href="mailto:asterisk.org@sedwards.com">asterisk.org@sedwards.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm (still) trying to get my Asterisk box talking to a Metaswitch. All I'm<br>getting is a "heartbeat" of OPTIONS messages coming from the Metaswitch<br>which my Asterisk box replies to. The exchange looks like:
<br><br><-- SIP read from 172.b.c.d:5060:<br>OPTIONS sip:metaswitch@206.b.c.d:5060;transport=udp SIP/2.0<br>Via: SIP/2.0/UDP<br>172.b.c.d:5060;rport;branch=z9hG4bK-17eb587208b656d9c2fbd516b5e5401e-172.b.c.d-1<br>Allow-Events: message-summary
<br>Allow-Events: refer<br>Allow-Events: dialog<br>Allow-Events: line-seize<br>Max-Forwards: 70<br>Call-ID: <a href="mailto:BECE8AC6@172.b.c.d">BECE8AC6@172.b.c.d</a><br>From:<br><sip:metaswitch@172.b.c.d:5060;transport=udp>;tag=
172.b.c.d+1+0+22022a3b<br>CSeq: 445762257 OPTIONS<br>Organization: Supported: 100rel<br>Content-Length: 0<br>Contact: <sip:metaswitch@172.b.c.d:5060;transport=udp><br>To: <<a href="mailto:sip:metaswitch@206.b.c.d">
sip:metaswitch@206.b.c.d</a>><br><br><br>--- (15 headers 0 lines) ---<br>Looking for metaswitch in test (domain 206.b.c.d)<br>Transmitting (no NAT) to 172.b.c.d:5060:<br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP<br>172.b.c.d:5060;rport;branch=
z9hG4bK-17eb587208b656d9c2fbd516b5e5401e-172.b.c.d-1;received=172.b.c.d<br>From:<br><sip:metaswitch@172.b.c.d:5060;transport=udp>;tag=172.b.c.d+1+0+22022a3b<br>To: <<a href="mailto:sip:metaswitch@206.b.c.d">sip:metaswitch@206.b.c.d
</a>>;tag=as6a59273b<br>Call-ID: <a href="mailto:BECE8AC6@172.b.c.d">BECE8AC6@172.b.c.d</a><br>CSeq: 445762257 OPTIONS<br>User-Agent: Asterisk PBX<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>
Contact: <sip:206.b.c.d><br>Accept: application/sdp<br>Content-Length: 0<br><br>Is this how OPTIONS is supposed to look? One thing that struck me as<br>curious is that I had to add an extension "metaswitch" to my "test"
<br>context in my dialplan. Otherwise I got "404's."<br><br>Can anybody explain (or point to an explanation)?<br><br>Thanks in advance,<br>------------------------------------------------------------------------
<br>Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>Newline Fax: +1-760-731-3000<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>