[Freeswitch-users] 401 Unauthorized in iptel external gateway

Anita Hall anita.hall at simmortel.com
Thu Mar 1 00:41:51 MSK 2012


Yes, Denis that would be useful as well. For instance, does FS send 2
REGISTER requests even then? What are the addresses in sent and received
SIP messages ?

Moreover, you could remove FreeSWITCH from the equation altogether and try
using Sofia SIP as a stand-alone client.
http://sofia-sip.sourceforge.net/

regards,
Anita



On Wed, Feb 29, 2012 at 5:27 PM, Denis Gasparin
<denis.gasparin at edistar.com>wrote:

>
> Do you mean to do a sip trace of a working call to the iptel account using
> a sip phone registered to freeswitch (without the gateway enabled)?
>
> Please let me know so I'll provide you the correct data.
>
> Thank you
>
> Denis
>
> ----- Messaggio originale -----
>
>
> Da: "Anita Hall" <anita.hall at simmortel.com>
> A: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Inviato: Mercoledì, 29 febbraio 2012 12:27:24
> Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external gateway
>
> I could figure out this much.
>
> In the second case (not working with correct config), FS is not sending
> credentials because perhaps there is a mismatch in "Via" in request and
> response. In the first case (working with incorrect config), there is no
> such mismatch in "Via"
>
> Request: Via: SIP/2.0/UDP 80.116.149.239:5080
> Response: Via: SIP/2.0/UDP 192.168.1.9:5080:5080
>
> Why is the port 5080 twice in Response ?
>
> We need to see if this is the case using Sofia SIP client as well.
>
> regards,
> Anita
>
>
>
>
> On Wed, Feb 29, 2012 at 1:50 PM, Denis Gasparin <
> denis.gasparin at edistar.com > wrote:
>
>
>
> I forgot to say that freeswitch uses UPnP to do nat-traversal.
>
> Any tip after reading the SIP trace?
>
>
> Thank you
> Denis
>
>
> ----- Messaggio originale -----
> > Da: "Denis Gasparin" < denis.gasparin at edistar.com >
>
> > A: "FreeSWITCH Users Help" < freeswitch-users at lists.freeswitch.org >
> > Inviato: Martedì, 28 febbraio 2012 12:11:00
>
>
> > Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external
> gateway
> > Hi Michael.
> >
> >
> ============================================================================
> > SIP trace of working but wrong configuration
> >
> ============================================================================
> >
> > <param name="rtp-ip" value="$${local_ip_v4}"/>
> > <param name="sip-ip" value="$${local_ip_v4}"/>
> > <param name="ext-rtp-ip" value="192.168.1.9"/>
> > <param name="ext-sip-ip" value="192.168.1.9"/>
> >
> > send 649 bytes to udp/[217.9.36.145]:5060 at 06:39:58.756531:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 192.168.1.9:5080;rport;branch=z9hG4bKH30c2j9mZ70jr
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=HS8t79j0cUccQ
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: 1ab7323f-3052-4c40-8b27-d329ebeb2d17
> > CSeq: 24869535 REGISTER
> > Contact: <sip:gw+iptel at 192.168.1.9:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 713 bytes from udp/[217.9.36.145]:5060 at 06:39:58.853547:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080;rport=27905;branch=z9hG4bKH30c2j9mZ70jr
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=HS8t79j0cUccQ
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-0631
> > Call-ID: 1ab7323f-3052-4c40-8b27-d329ebeb2d17
> > CSeq: 24869535 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x4Rk9MeAoHmuhZYnrVV44Ld9MXbGD7"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=865
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> > send 854 bytes to udp/[217.9.36.145]:5060 at 06:39:58.854065:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 192.168.1.9:5080;rport;branch=z9hG4bKjct53DtrvgQ5K
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=HS8t79j0cUccQ
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: 1ab7323f-3052-4c40-8b27-d329ebeb2d17
> > CSeq: 24869536 REGISTER
> > Contact: <sip:gw+iptel at 192.168.1.9:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Authorization: Digest username="MY_IPTEL_ACCOUNT", realm=" iptel.org ",
> > nonce="T0x4Rk9MeAoHmuhZYnrVV44Ld9MXbGD7", algorithm=MD5,
> > uri="sip: sip.iptel.org ;transport=udp",
> > response="b78f8f127a20a7ade3ed8a9041162e89"
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 694 bytes from udp/[217.9.36.145]:5060 at 06:39:58.956413:
> > ------------------------------------------------------------------------
> > SIP/2.0 200 OK
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080;rport=27905;branch=z9hG4bKjct53DtrvgQ5K
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=HS8t79j0cUccQ
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=5697f7a671feb5d42dc9ea510e728105.2ab2
> > Call-ID: 1ab7323f-3052-4c40-8b27-d329ebeb2d17
> > CSeq: 24869536 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > Contact:
> > <sip:gw+iptel at 192.168.1.9:5080;transport=udp;gw=iptel>;expires=600
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=864
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> >
> ============================================================================
> > SIP trace of not working but correct configuration
> >
> ============================================================================
> >
> > <param name="rtp-ip" value="$${local_ip_v4}"/>
> > <param name="sip-ip" value="$${local_ip_v4}"/>
> > <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
> > <param name="ext-sip-ip" value="$${external_sip_ip}"/>
> >
> > ==> external_rtp_ip and external_sip_ip are set to my public ip
> > (80.116.149.239) in vars.xml.
> >
> > send 655 bytes to udp/[217.9.36.145]:5060 at 06:42:20.692370:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:20.792006:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x41k9MeJptTRxwtIC32TRVrt1Ou+pd"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=869
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> > send 655 bytes to udp/[217.9.36.145]:5060 at 06:42:21.692837:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:21.793018:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x41k9MeJptTRxwtIC32TRVrt1Ou+pd"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=869
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> > send 655 bytes to udp/[217.9.36.145]:5060 at 06:42:23.692835:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:23.790966:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x41k9MeJptTRxwtIC32TRVrt1Ou+pd"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=869
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> > freeswitch at dhcppc7>
> > freeswitch at dhcppc7>
> > freeswitch at dhcppc7> send 655 bytes to udp/[217.9.36.145]:5060 at
> > 06:42:27.692903:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:27.792597:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x43U9MeKEIS4uLX1oGSBQjlCJ7vtme"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=864
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> > freeswitch at dhcppc7>
> > freeswitch at dhcppc7> send 655 bytes to udp/[217.9.36.145]:5060 at
> > 06:42:31.692890:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:31.793652:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x43U9MeKEIS4uLX1oGSBQjlCJ7vtme"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=864
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> > freeswitch at dhcppc7> send 655 bytes to udp/[217.9.36.145]:5060 at
> > 06:42:35.692896:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:35.794678:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x45U9MeKkNgVsi09O8xEmjpBaZdLGh"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=864
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> > freeswitch at dhcppc7> send 655 bytes to udp/[217.9.36.145]:5060 at
> > 06:42:39.692893:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:39.794542:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x45U9MeKkNgVsi09O8xEmjpBaZdLGh"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=864
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> > send 655 bytes to udp/[217.9.36.145]:5060 at 06:42:43.692953:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:43.794321:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x47U9MeLEkEcREBIX7+GErgu7sZafW"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=865
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> > freeswitch at dhcppc7> send 655 bytes to udp/[217.9.36.145]:5060 at
> > 06:42:47.692951:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:47.793749:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x47U9MeLEkEcREBIX7+GErgu7sZafW"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=865
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> > freeswitch at dhcppc7> send 655 bytes to udp/[217.9.36.145]:5060 at
> > 06:42:51.692916:
> > ------------------------------------------------------------------------
> > REGISTER sip: sip.iptel.org ;transport=udp SIP/2.0
> > Via: SIP/2.0/UDP 80.116.149.239:5080;rport;branch=z9hG4bKN0cSvF0B4Q24D
> > Max-Forwards: 70
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To: < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Contact: <sip:gw+iptel at 80.116.149.239:5080;transport=udp;gw=iptel>
> > Expires: 3600
> > User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24
> > 14-15-32 -0600
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> > REGISTER, REFER, NOTIFY
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> > ------------------------------------------------------------------------
> > recv 718 bytes from udp/[217.9.36.145]:5060 at 06:42:51.794179:
> > ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP
> > 192.168.1.9:5080:5080;rport=27905;branch=z9hG4bKN0cSvF0B4Q24D
> > From:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org ;transport=udp>;tag=Ntyatg8t0eXvN
> > To:
> > < sip:MY_IPTEL_ACCOUNT at sip.iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-d9e7
> > Call-ID: e83d7bd7-f358-44c0-95d9-9ec9069c9711
> > CSeq: 24869606 REGISTER
> > Expires: 600
> > Min-Expires: 240
> > WWW-Authenticate: Digest realm=" iptel.org ",
> > nonce="T0x49U9MeLlULFCzzoULNr3vTAKpPBHQ"
> > Server: ser (3.3.0-dev0 (i386/linux))
> > Content-Length: 0
> > Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=863
> > req_src_ip=80.116.149.239 req_src_port=27905
> > in_uri=sip: sip.iptel.org ;transport=udp
> > out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
> >
> > ------------------------------------------------------------------------
> >
> > freeswitch at dhcppc7> 2012-02-28 07:42:52.679130 [ERR] sofia_reg.c:1962
> > iptel Registration Failed with status Request Timeout [408]. failure
> > #1
> > freeswitch at dhcppc7> 2012-02-28 07:42:54.619987 [WARNING]
> > sofia_reg.c:474 iptel Failed Registration [0], setting retry to 60
> > seconds.
> >
> >
> > Thank you
> >
> > Denis
> >
> > ----- Messaggio originale -----
> > > Da: "Michael Collins" < msc at freeswitch.org >
> > > A: "FreeSWITCH Users Help" < freeswitch-users at lists.freeswitch.org >
> > > Inviato: Martedì, 28 febbraio 2012 1:15:43
> > > Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external
> > > gateway
> > > SIP trace would probably reveal why.
> > > -MC
> > >
> > >
> > > On Mon, Feb 27, 2012 at 3:53 PM, Denis Gasparin <
> > > denis.gasparin at edistar.com > wrote:
> > >
> > >
> > >
> > > Sorry but I don't understand. I agree with you that those values are
> > > invalid but using those values registration and rtp work.
> > >
> > > The (correct, I hope) configuration I should use according to the
> > > wiki
> > > in sip_profiles/external.xml:
> > >
> > > <param name="rtp-ip" value="$${local_ip_v4}"/>
> > > <param name="sip-ip" value="$${local_ip_v4}"/>
> > > <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
> > > <param name="ext-sip-ip" value="$${external_sip_ip}"/>
> > >
> > > external_rtp_ip and external_sip_ip are set to my public ip in
> > > vars.xml.
> > > With this configuration registration does not work.
> > >
> > > But with this (wrong) configuration registration and communication
> > > with iptel works fine:
> > >
> > > <param name="rtp-ip" value="$${local_ip_v4}"/>
> > > <param name="sip-ip" value="$${local_ip_v4}"/>
> > > <param name="ext-rtp-ip"
> > > value="**invalid_value_or_my_private_ip_address**"/>
> > > <param name="ext-sip-ip"
> > > value="**invalid_value_or_my_private_ip_address**"/>
> > >
> > >
> > > Why?
> > >
> > > Thank you,
> > > Denis
> > >
> > > ----- Messaggio originale -----
> > > > Da: "Michael Collins" < msc at freeswitch.org >
> > > > A: "FreeSWITCH Users Help" < freeswitch-users at lists.freeswitch.org
> > > > >
> > > > Inviato: Lunedì, 27 febbraio 2012 23:30:33
> > > > Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external
> > > > gateway
> > > > On Mon, Feb 27, 2012 at 2:08 PM, Brian West < brian at freeswitch.org
> > > > >
> > > > wrote:
> > > >
> > > >
> > > >
> > > > That would be because these values are INVALID.
> > > >
> > > >
> > > > /b
> > > >
> > > >
> > > > Indeed. Check this info for suggestions on what can go there:
> > > >
> > > > http://wiki.freeswitch.org/wiki/Sofia.conf.xml#ext-rtp-ip
> > > >
> > > > -MC
> > > >
> > > >
> _________________________________________________________________________
> > > > Professional FreeSWITCH Consulting Services:
> > > > consulting at freeswitch.org
> > > > http://www.freeswitchsolutions.com
> > > >
> > > > 
> > > > 
> > > >
> > > > Official FreeSWITCH Sites
> > > > http://www.freeswitch.org
> > > > http://wiki.freeswitch.org
> > > > http://www.cluecon.com
> > > >
> > > > FreeSWITCH-users mailing list
> > > > FreeSWITCH-users at lists.freeswitch.org
> > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > UNSUBSCRIBE:
> > > > http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > > http://www.freeswitch.org
> > >
> > >
> _________________________________________________________________________
> > > Professional FreeSWITCH Consulting Services:
> > > consulting at freeswitch.org
> > > http://www.freeswitchsolutions.com
> > >
> > > 
> > > 
> > >
> > > Official FreeSWITCH Sites
> > > http://www.freeswitch.org
> > > http://wiki.freeswitch.org
> > > http://www.cluecon.com
> > >
> > > FreeSWITCH-users mailing list
> > > FreeSWITCH-users at lists.freeswitch.org
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
> > > http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > http://www.freeswitch.org
> > >
> > >
> > >
> _________________________________________________________________________
> > > Professional FreeSWITCH Consulting Services:
> > > consulting at freeswitch.org
> > > http://www.freeswitchsolutions.com
> > >
> > > 
> > > 
> > >
> > > Official FreeSWITCH Sites
> > > http://www.freeswitch.org
> > > http://wiki.freeswitch.org
> > > http://www.cluecon.com
> > >
> > > FreeSWITCH-users mailing list
> > > FreeSWITCH-users at lists.freeswitch.org
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > http://www.freeswitch.org
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120301/526b8710/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list