Hi,<br><br clear="all">I have AudioCodes MP-124 device. It works fine, but I want to fix one problem, but I don't know how! In AudioCodes I've created two lines for tests:52040668 and 52040669. Here is my sip.conf fragment sniffed traffic:
<br><br>sip.conf<br>[52040668]<br>type=friend<br>accountcode=1<br>videosupport=yes<br>context=bandymas<br>secret=12345<br>host=dynamic ; This device needs to register<br>nat=no ; X-Lite is behind a NAT router
<br>canreinvite=no ; Typically set to NO if behind NAT<br><br>[52040669]<br>type=friend<br>accountcode=1<br>videosupport=yes<br>context=bandymas<br>secret=12345<br>host=dynamic<br>nat=no<br>canreinvite=no
<br>allow=all <br><br><br><br><i>#<br>U <a href="http://192.168.144.161:5060">192.168.144.161:5060</a> -> <a href="http://192.168.144.157:5060">192.168.144.157:5060</a><br></i><i>REGISTER sip:<a href="http://192.168.144.157">
192.168.144.157</a> SIP/2.0.<br></i><i>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513259412.<br></i><i>Max-Forwards: 70.<br></i><i>From: <sip:52040668@audiocodes>;tag=1c1513251713.
<br></i><i>To: <sip:52040668@audiocodes>.<br>Call-ID: <a href="mailto:70673352311200042619@192.168.144.161">70673352311200042619@192.168.144.161</a>.<br>CSeq: 933 REGISTER.<br></i><i>Contact: <<a href="mailto:sip:52040668@192.168.144.161">
sip:52040668@192.168.144.161</a>>;expires=180.<br>Supported: em,timer,replaces,path.<br></i><i>Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE.<br></i><i>Expires: 180.<br></i><i>User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.016.003.
<br></i><i>Content-Length: 0.<br><br>.<br></i><i>#<br>U <a href="http://192.168.144.157:5060">192.168.144.157:5060</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br></i><i>SIP/2.0 100 Trying.<br>
</i><i>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513259412;received=<a href="http://192.168.144.161">192.168.144.161</a>.<br></i><i>From: <sip:52040668@audiocodes>;tag=1c1513251713.
<br></i><i>To: <sip:52040668@audiocodes>.<br></i><i>Call-ID: <a href="mailto:70673352311200042619@192.168.144.161">70673352311200042619@192.168.144.161</a>.<br></i><i>CSeq: 933 REGISTER.<br></i><i>User-Agent: Asterisk PBX.
<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br></i><i>Contact: <<a href="mailto:sip:52040668@192.168.144.157">sip:52040668@192.168.144.157</a>>.<br></i><i>Content-Length: 0.<br><br>.<br></i>
<i><br></i><i>#<br></i><i>U <a href="http://192.168.144.157:5060">192.168.144.157:5060</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br></i><i>SIP/2.0 401 Unauthorized.<br></i><i>Via: SIP/2.0/UDP
<a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513259412;received=<a href="http://192.168.144.161">192.168.144.161</a>.<br>From: <sip:52040668@audiocodes>;tag=1c1513251713.<br></i><i>To: <sip:52040668@audiocodes
>;tag=as06ce03af.<br></i><i>Call-ID: <a href="mailto:70673352311200042619@192.168.144.161">70673352311200042619@192.168.144.161</a>.<br></i><i>CSeq: 933 REGISTER.<br></i><i>User-Agent: Asterisk PBX.<br></i><i>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
<br>Contact: <<a href="mailto:sip:52040668@192.168.144.157">sip:52040668@192.168.144.157</a>>.<br></i><i>WWW-Authenticate: Digest realm="asterisk", nonce="6b60d637".<br></i><i>Content-Length: 0.<br>
</i><i><br>.<br></i><i>#<br>U <a href="http://192.168.144.161:5060">192.168.144.161:5060</a> -> <a href="http://192.168.144.157:5060">192.168.144.157:5060</a><br></i><i>REGISTER sip:<a href="http://192.168.144.157">192.168.144.157
</a> SIP/2.0.<br>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513308367.<br>Max-Forwards: 70.<br>From: <sip:52040669@audiocodes>;tag=1c1513298370.<br></i><i>To: <sip:52040669@audiocodes
>.<br></i><i>Call-ID: <a href="mailto:70673375911200042619@192.168.144.161">70673375911200042619@192.168.144.161</a>.<br>CSeq: 933 REGISTER.<br></i><i>Contact: <<a href="mailto:sip:52040669@192.168.144.161">sip:52040669@192.168.144.161
</a>>;expires=180.<br>Supported: em,timer,replaces,path.<br></i><i>Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE.<br></i><i>Expires: 180.<br></i><i>User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.016.003.
<br>Content-Length: 0.<br></i><i><br>.<br></i><i>#<br>U <a href="http://192.168.144.157:5060">192.168.144.157:5060</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br>SIP/2.0 100 Trying.<br></i><i>
Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513308367;received=<a href="http://192.168.144.161">192.168.144.161</a>.<br></i><i>From: <sip:52040669@audiocodes>;tag=1c1513298370.
<br></i><i>To: <sip:52040669@audiocodes>.<br></i><i>Call-ID: <a href="mailto:70673375911200042619@192.168.144.161">70673375911200042619@192.168.144.161</a>.<br></i><i>CSeq: 933 REGISTER.<br></i><i>User-Agent: Asterisk PBX.
<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>Contact: <<a href="mailto:sip:52040669@192.168.144.157">sip:52040669@192.168.144.157</a>>.<br></i><i>Content-Length: 0.<br>.<br><br></i><i><br>
<br>#<br></i><i>U <a href="http://192.168.144.157:5060">192.168.144.157:5060</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br></i><i>SIP/2.0 401 Unauthorized.<br></i><i>Via: SIP/2.0/UDP <a href="http://192.168.144.161">
192.168.144.161</a>;branch=z9hG4bKac1513308367;received=<a href="http://192.168.144.161">192.168.144.161</a>.<br>From: <sip:52040669@audiocodes>;tag=1c1513298370.<br></i><i>To: <sip:52040669@audiocodes>;tag=as5624ce96.
<br>Call-ID: <a href="mailto:70673375911200042619@192.168.144.161">70673375911200042619@192.168.144.161</a>.<br>CSeq: 933 REGISTER.<br></i><i>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
<br></i><i>Contact: <<a href="mailto:sip:52040669@192.168.144.157">sip:52040669@192.168.144.157</a>>.<br></i><i>WWW-Authenticate: Digest realm="asterisk", nonce="43fa4b04".<br>Content-Length: 0.<br>
</i><i>.<br><br></i><i>#<br>U <a href="http://192.168.144.161:5060">192.168.144.161:5060</a> -> <a href="http://192.168.144.157:5060">192.168.144.157:5060</a><br>REGISTER sip:<a href="http://192.168.144.157">192.168.144.157
</a> SIP/2.0.<br>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513347194.<br></i><i>Max-Forwards: 70.<br></i><i>From: <sip:52040668@audiocodes>;tag=1c1513251713.<br></i><i>To: <
sip:52040668@audiocodes>.<br></i><i>Call-ID: <a href="mailto:70673352311200042619@192.168.144.161">70673352311200042619@192.168.144.161</a>.<br>CSeq: 934 REGISTER.<br></i><i>Authorization: Digest username="52040668",realm="asterisk",nonce="6b60d637",uri="sip:
<a href="http://192.168.144.157">192.168.144.157</a>",algorithm=MD5,response="a3ff24f7421c4fde4dff7a8965504fc4".<br>Contact: <<a href="mailto:sip:52040668@192.168.144.161">sip:52040668@192.168.144.161</a>
>;expires=180.<br></i><i>Supported: em,timer,replaces,path.<br>Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE.<br></i><i>Expires: 180.<br>User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.016.003.
<br></i><i>Content-Length: 0.<br><br>.<br></i><i><br><br><br>#<br><br>U <a href="http://192.168.144.157:5060">192.168.144.157:5060</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br></i><i>SIP/2.0 100 Trying.
<br></i><i>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513347194;received=<a href="http://192.168.144.161">192.168.144.161</a>.<br></i><i>From: <sip:52040668@audiocodes>;tag=1c1513251713.
<br></i><i>To: <sip:52040668@audiocodes>.<br></i><i>Call-ID: <a href="mailto:70673352311200042619@192.168.144.161">70673352311200042619@192.168.144.161</a>.<br></i><i>CSeq: 934 REGISTER.<br>User-Agent: Asterisk PBX.
<br></i><i>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br></i><i>Contact: <<a href="mailto:sip:52040668@192.168.144.157">sip:52040668@192.168.144.157</a>>.<br></i><i>Content-Length: 0.<br></i>
<i>.<br><br><br><br>#<br></i><i>U <a href="http://192.168.144.157:5060">192.168.144.157:5060</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br></i><i>SIP/2.0 200 OK.<br></i><i>Via: SIP/2.0/UDP <a href="http://192.168.144.161">
192.168.144.161</a>;branch=z9hG4bKac1513347194;received=<a href="http://192.168.144.161">192.168.144.161</a>.<br>From: <sip:52040668@audiocodes>;tag=1c1513251713.<br>To: <sip:52040668@audiocodes>;tag=as06ce03af.
<br></i><i>Call-ID: <a href="mailto:70673352311200042619@192.168.144.161">70673352311200042619@192.168.144.161</a>.<br></i><i>CSeq: 934 REGISTER.<br></i><i>User-Agent: Asterisk PBX.<br></i><i>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
<br>Expires: 180.<br></i><i>Contact: <<a href="mailto:sip:52040668@192.168.144.161">sip:52040668@192.168.144.161</a>>;expires=180.<br></i><i>Date: Sat, 01 Jul 2006 06:23:14 GMT.<br></i><i>Content-Length: 0.<br></i><i>
.<br><br><br></i><i>#<br></i><i>U <a href="http://192.168.144.161:5060">192.168.144.161:5060</a> -> <a href="http://192.168.144.157:5060">192.168.144.157:5060</a><br>REGISTER sip:<a href="http://192.168.144.157">192.168.144.157
</a> SIP/2.0.<br>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513406098.<br>Max-Forwards: 70.<br></i><i>From: <sip:52040669@audiocodes>;tag=1c1513298370.<br></i><i>To: <sip:52040669@audiocodes
>.<br></i><i>Call-ID: <a href="mailto:70673375911200042619@192.168.144.161">70673375911200042619@192.168.144.161</a>.<br></i><i>CSeq: 934 REGISTER.<br></i><i>Authorization: Digest username="52040669",realm="asterisk",nonce="43fa4b04",uri="sip:
<a href="http://192.168.144.157">192.168.144.157</a>",algorithm=MD5,response="4906bbe1da1a907d3bddbe169b891c7e".<br></i><i>Contact: <<a href="mailto:sip:52040669@192.168.144.161">sip:52040669@192.168.144.161
</a>>;expires=180.<br></i><i>Supported: em,timer,replaces,path.<br>Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE.<br></i><i>Expires: 180.<br></i><i>User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.016.003.
<br>Content-Length: 0.<br></i><i><br>.<br></i><i><br><br>#<br>U <a href="http://192.168.144.157:5060">192.168.144.157:5060</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br></i><i>SIP/2.0 100 Trying.
<br></i><i>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513406098;received=<a href="http://192.168.144.161">192.168.144.161</a>.<br></i><i>From: <sip:52040669@audiocodes>;tag=1c1513298370.
<br>To: <sip:52040669@audiocodes>.<br>Call-ID: <a href="mailto:70673375911200042619@192.168.144.161">70673375911200042619@192.168.144.161</a>.<br></i><i>CSeq: 934 REGISTER.<br></i><i>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
<br>Contact: <<a href="mailto:sip:52040669@192.168.144.157">sip:52040669@192.168.144.157</a>>.<br>Content-Length: 0.<br></i><i><br>.<br><br></i><i><br>#<br>U <a href="http://192.168.144.157:5060">192.168.144.157:5060
</a> -> <a href="http://192.168.144.161:5060">192.168.144.161:5060</a><br>SIP/2.0 200 OK.<br></i><i>Via: SIP/2.0/UDP <a href="http://192.168.144.161">192.168.144.161</a>;branch=z9hG4bKac1513406098;received=<a href="http://192.168.144.161">
192.168.144.161</a>.<br></i><i>From: <sip:52040669@audiocodes>;tag=1c1513298370.<br></i><i>To: <sip:52040669@audiocodes>;tag=as5624ce96.<br></i><i>Call-ID: <a href="mailto:70673375911200042619@192.168.144.161">
70673375911200042619@192.168.144.161</a>.<br>CSeq: 934 REGISTER.<br>User-Agent: Asterisk PBX.<br></i><i>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br></i><i>Expires: 180.<br>Contact: <<a href="mailto:sip:52040669@192.168.144.161">
sip:52040669@192.168.144.161</a>>;expires=180.<br></i><i>Date: Sat, 01 Jul 2006 06:23:14 GMT.<br></i><i>Content-Length: 0.<br><br><br>In ASTERISK:<br>Jul 1 09:28:00 DEBUG[6138]: chan_sip.c:1323 __sip_autodestruct: Auto destroying call '
<a href="mailto:70673352311200042619@192.168.144.161">70673352311200042619@192.168.144.161</a>'<br>Jul 1 09:28:00 DEBUG[6138]: chan_sip.c:1323 __sip_autodestruct: Auto destroying call '<a href="mailto:70673375911200042619@192.168.144.161">
70673375911200042619@192.168.144.161</a>'<br>Jul 1 09:28:53 NOTICE[6138]: pbx.c:1741 pbx_extension_helper: Cannot find extension context 'default'<br>Jul 1 09:28:53 DEBUG[6138]: chan_sip.c:11338 sipsock_read: SIP message could not be handled, bad request:
<a href="mailto:193703101611200016955@192.168.144.161">193703101611200016955@192.168.144.161</a><br></i><br>Can you help me?<i><br></i><i><br></i><i><br><br></i><i><br></i>