[Freeswitch-users] iLBC question

Anthony Minessale anthony.minessale at gmail.com
Mon Jun 23 11:26:54 PDT 2008


please try latest trunk, I may have figured it out.


On Mon, Jun 23, 2008 at 10:07 AM, Alex Gusak <alex.gusak at gmail.com> wrote:

> As I wrote, we tested several clients.
> One example of call from Zoiper (alex_gusak) to Zoiper (edward).
> ( Zoiper  <-> SER <-> FreeSWITCH <-> SER <-> Zoiper  )
> The first client sends iLBC rtpmap: 98, mode = 30, FreeSWITCH sends to
> second client iLBC rtpmap: 102, mode30.
> Both the client did not hear one another.
> The same situation if the call directly through FS without using SER
> (Zoiper <-> FreeSWITCH <-> Zoiper)
>
> call sip_trace:
>
>
>
>
>
> recv 935 bytes from udp/[80.70.68.2]:5060 at 14:39:25.487170:
>   ------------------------------------------------------------------------
>   INVITE sip:edward at 80.70.68.3 <sip%3Aedward at 80.70.68.3>;transport=UDP
> SIP/2.0
>   Record-Route: <sip:80.70.68.2;avp=R28DBwBhY2NvdW50AwB5ZXM;lr=on>
>   Via: SIP/2.0/UDP 80.70.68.2;branch=z9hG4bK46d3.96dae041.0
>   Via: SIP/2.0/UDP
> 213.133.160.108:5060
> ;branch=z9hG4bK-d8754z-de84dc00e12f87c6-1---d8754z-;rport=5060
>   Max-Forwards: 16
>   Contact: <sip:alex_gusak at 213.133.160.108:5060>
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>;transport=UDP
>   From: "Alex"<sip:alex_gusak at sip.3fon.net <sip%3Aalex_gusak at sip.3fon.net>
> >;transport=UDP;tag=911a4d6a
>   Call-ID: NmFmOTEyNzk2M2I0YzY1YjgzMGI5ZDkxNmFkMDAxYWY.
>   CSeq: 2 INVITE
>   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO
>   Content-Type: application/sdp
>   User-Agent: Zoiper rev.647
>   Content-Length: 224
>   P-RTP-Proxy: YES
>
>   v=0
>   o=Z 0 0 IN IP4 213.133.160.108
>   s=Z
>   c=IN IP4 80.70.68.4
>   t=0 0
>   m=audio 35680 RTP/AVP 98 101
>   a=rtpmap:98 iLBC/8000
>   a=fmtp:98 mode=30
>   a=rtpmap:101 telephone-event/8000
>   a=fmtp:101 0-15
>   a=sendrecv
>   a=nortpproxy:yes
>   ------------------------------------------------------------------------
> send 511 bytes to udp/[80.70.68.2]:5060 at 14:39:25.487872:
>   ------------------------------------------------------------------------
>   SIP/2.0 100 Trying
>   Via: SIP/2.0/UDP 80.70.68.2;branch=z9hG4bK46d3.96dae041.0;rport=5060
>   Via: SIP/2.0/UDP
> 213.133.160.108:5060
> ;branch=z9hG4bK-d8754z-de84dc00e12f87c6-1---d8754z-;rport=5060
>   Record-Route: <sip:80.70.68.2;avp=R28DBwBhY2NvdW50AwB5ZXM;lr=on>
>   From: "Alex"<sip:alex_gusak at sip.3fon.net <sip%3Aalex_gusak at sip.3fon.net>
> >;transport=UDP;tag=911a4d6a
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>;transport=UDP
>   Call-ID: NmFmOTEyNzk2M2I0YzY1YjgzMGI5ZDkxNmFkMDAxYWY.
>   CSeq: 2 INVITE
>   User-Agent: FreeSWITCH-mod_sofia/1.0.0-hacked
>   Content-Length: 0
>
>   ------------------------------------------------------------------------
> send 1154 bytes to udp/[80.70.68.2]:5060 at 14:39:25.601403:
>   ------------------------------------------------------------------------
>   INVITE sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net> SIP/2.0
>   Via: SIP/2.0/UDP 80.70.68.3;rport;branch=z9hG4bKSr07NgQtgtgZm
>   Max-Forwards: 15
>   From: "Alex" <sip:alex_gusak at 80.70.68.3 <sip%3Aalex_gusak at 80.70.68.3>
> >;tag=tZ8yDXH5XKN5K
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>
>   Call-ID: 04b7e7fd-bbd5-122b-ff86-cd5a86150e3c
>   CSeq: 100997646 INVITE
>   Contact: <sip:mod_sofia at 80.70.68.3:5060>
>   User-Agent: FreeSWITCH-mod_sofia/1.0.0-hacked
>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
> SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
>   Supported: 100rel, precondition, timer
>   Allow-Events: talk, presence, dialog, call-info, sla,
> include-session-description, presence.winfo, message-summary
>   Min-SE: 120
>   Content-Type: application/sdp
>   Content-Disposition: session
>   Content-Length: 318
>   P-RTP-Proxy: YES
>   Remote-Party-ID: "Alex" <sip:alex_gusak at 80.70.68.3<sip%3Aalex_gusak at 80.70.68.3>
> >;screen=yes;privacy=off
>
>   v=0
>   o=FreeSWITCH 3318025237217177383 6127129349285603966 IN IP4 80.70.68.3
>   s=FreeSWITCH
>   c=IN IP4 80.70.68.3
>   t=0 0
>   a=sendrecv
>   m=audio 18182 RTP/AVP 102 8 101 13
>   a=rtpmap:102 iLBC/8000
>   a=fmtp:102 mode=30
>   a=rtpmap:8 PCMA/8000
>   a=rtpmap:101 telephone-event/8000
>   a=fmtp:101 0-16
>   a=rtpmap:13 CN/8000
>   a=ptime:30
>   ------------------------------------------------------------------------
> recv 580 bytes from udp/[80.70.68.2]:5060 at 14:39:25.602931:
>   ------------------------------------------------------------------------
>   SIP/2.0 100 trying -- your call is important to us
>   Via: SIP/2.0/UDP 80.70.68.3;rport=5060;branch=z9hG4bKSr07NgQtgtgZm
>   From: "Alex" <sip:alex_gusak at 80.70.68.3 <sip%3Aalex_gusak at 80.70.68.3>
> >;tag=tZ8yDXH5XKN5K
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>
>   Call-ID: 04b7e7fd-bbd5-122b-ff86-cd5a86150e3c
>   CSeq: 100997646 INVITE
>   Server: Sip EXpress router (2.0.0+cvs20080521 (x86_64/freebsd))
>   Content-Length: 0
>   Warning: 392 80.70.68.2:5060 "Noisy feedback tells:  pid=16759
> req_src_ip=80.70.68.3 req_src_port=5060 in_uri=sip:edward at sip.3fon.net<sip%3Aedward at sip.3fon.net>
> out_uri=sip:Edward at 172.16.100.15:5060;rinstance=e598a23315cac44e
> via_cnt==1"
>
>   ------------------------------------------------------------------------
> recv 447 bytes from udp/[80.70.68.2]:5060 at 14:39:25.666159:
>   ------------------------------------------------------------------------
>   SIP/2.0 180 Ringing
>   Via: SIP/2.0/UDP 80.70.68.3;rport=5060;branch=z9hG4bKSr07NgQtgtgZm
>   Record-Route: <sip:80.70.68.2;lr;avp=R28DBwBhY2NvdW50AwB5ZXM>
>   Contact: <sip:Edward at 213.133.167.186:55348;rinstance=e598a23315cac44e>
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>;tag=e961e62b
>   From: "Alex"<sip:alex_gusak at 80.70.68.3 <sip%3Aalex_gusak at 80.70.68.3>
> >;tag=tZ8yDXH5XKN5K
>   Call-ID: 04b7e7fd-bbd5-122b-ff86-cd5a86150e3c
>   CSeq: 100997646 INVITE
>   User-Agent: Zoiper rev.647
>   Content-Length: 0
>
>   ------------------------------------------------------------------------
> send 884 bytes to udp/[80.70.68.2]:5060 at 14:39:25.666998:
>   ------------------------------------------------------------------------
>   SIP/2.0 180 Ringing
>   Via: SIP/2.0/UDP 80.70.68.2;branch=z9hG4bK46d3.96dae041.0;rport=5060
>   Via: SIP/2.0/UDP
> 213.133.160.108:5060
> ;branch=z9hG4bK-d8754z-de84dc00e12f87c6-1---d8754z-;rport=5060
>   Record-Route: <sip:80.70.68.2;avp=R28DBwBhY2NvdW50AwB5ZXM;lr=on>
>   From: "Alex"<sip:alex_gusak at sip.3fon.net <sip%3Aalex_gusak at sip.3fon.net>
> >;transport=UDP;tag=911a4d6a
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>
> >;transport=UDP;tag=SpF6B2010aZjr
>   Call-ID: NmFmOTEyNzk2M2I0YzY1YjgzMGI5ZDkxNmFkMDAxYWY.
>   CSeq: 2 INVITE
>   Contact: <sip:mod_sofia at 80.70.68.3:5060;transport=udp>
>   User-Agent: FreeSWITCH-mod_sofia/1.0.0-hacked
>   Accept: application/sdp
>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
> SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
>   Supported: 100rel, precondition, timer
>   Allow-Events: talk, presence, dialog, call-info, sla,
> include-session-description, presence.winfo, message-summary
>   Content-Length: 0
>
>   ------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
> recv 781 bytes from udp/[80.70.68.2]:5060 at 14:39:27.726607:
>   ------------------------------------------------------------------------
>   SIP/2.0 200 OK
>   Via: SIP/2.0/UDP 80.70.68.3;rport=5060;branch=z9hG4bKSr07NgQtgtgZm
>   Record-Route: <sip:80.70.68.2;lr;avp=R28DBwBhY2NvdW50AwB5ZXM>
>   Contact: <sip:Edward at 213.133.167.186:55348;rinstance=e598a23315cac44e>
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>;tag=e961e62b
>   From: "Alex"<sip:alex_gusak at 80.70.68.3 <sip%3Aalex_gusak at 80.70.68.3>
> >;tag=tZ8yDXH5XKN5K
>   Call-ID: 04b7e7fd-bbd5-122b-ff86-cd5a86150e3c
>   CSeq: 100997646 INVITE
>   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO
>   Content-Type: application/sdp
>   User-Agent: Zoiper rev.647
>   Content-Length: 225
>
>   v=0
>   o=Z 0 0 IN IP4 172.16.100.15
>   s=Z
>   c=IN IP4 80.70.68.4
>   t=0 0
>   m=audio 35684 RTP/AVP 102 101
>   a=rtpmap:102 iLBC/8000
>   a=fmtp:102 mode=30
>   a=rtpmap:101 telephone-event/8000
>   a=fmtp:101 0-15
>   a=sendrecv
>   a=nortpproxy:yes
>   ------------------------------------------------------------------------
> send 445 bytes to udp/[80.70.68.2]:5060 at 14:39:27.727139:
>   ------------------------------------------------------------------------
>   ACK sip:Edward at 213.133.167.186:55348;rinstance=e598a23315cac44e SIP/2.0
>   Via: SIP/2.0/UDP 80.70.68.3;rport;branch=z9hG4bKt1S0QB8XD36Hg
>   Route: <sip:80.70.68.2;lr;avp=R28DBwBhY2NvdW50AwB5ZXM>
>   Max-Forwards: 70
>   From: "Alex" <sip:alex_gusak at 80.70.68.3 <sip%3Aalex_gusak at 80.70.68.3>
> >;tag=tZ8yDXH5XKN5K
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>;tag=e961e62b
>   Call-ID: 04b7e7fd-bbd5-122b-ff86-cd5a86150e3c
>   CSeq: 100997646 ACK
>   Contact: <sip:mod_sofia at 80.70.68.3:5060>
>   Content-Length: 0
>
>   ------------------------------------------------------------------------
> send 1221 bytes to udp/[80.70.68.2]:5060 at 14:39:27.733032:
>   ------------------------------------------------------------------------
>   SIP/2.0 200 OK
>   Via: SIP/2.0/UDP 80.70.68.2;branch=z9hG4bK46d3.96dae041.0;rport=5060
>   Via: SIP/2.0/UDP
> 213.133.160.108:5060
> ;branch=z9hG4bK-d8754z-de84dc00e12f87c6-1---d8754z-;rport=5060
>   Record-Route: <sip:80.70.68.2;avp=R28DBwBhY2NvdW50AwB5ZXM;lr=on>
>   From: "Alex"<sip:alex_gusak at sip.3fon.net <sip%3Aalex_gusak at sip.3fon.net>
> >;transport=UDP;tag=911a4d6a
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>
> >;transport=UDP;tag=SpF6B2010aZjr
>   Call-ID: NmFmOTEyNzk2M2I0YzY1YjgzMGI5ZDkxNmFkMDAxYWY.
>   CSeq: 2 INVITE
>   Contact: <sip:mod_sofia at 80.70.68.3:5060;transport=udp>
>   User-Agent: FreeSWITCH-mod_sofia/1.0.0-hacked
>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
> SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
>   Supported: 100rel, precondition, timer
>   Allow-Events: talk, presence, dialog, call-info, sla,
> include-session-description, presence.winfo, message-summary
>   Min-SE: 120
>   Content-Type: application/sdp
>   Content-Disposition: session
>   Content-Length: 291
>
>   v=0
>   o=FreeSWITCH 7445476403162582898 6200794377110307817 IN IP4 80.70.68.3
>   s=FreeSWITCH
>   c=IN IP4 80.70.68.3
>   t=0 0
>   a=sendrecv
>   m=audio 28638 RTP/AVP 98 101 13
>   a=rtpmap:98 iLBC/8000
>   a=fmtp:98 mode=30
>   a=rtpmap:101 telephone-event/8000
>   a=fmtp:101 0-16
>   a=rtpmap:13 CN/8000
>   a=ptime:30
>   ------------------------------------------------------------------------
> recv 822 bytes from udp/[80.70.68.2]:5060 at 14:39:27.749337:
>   ------------------------------------------------------------------------
>   ACK sip:mod_sofia at 80.70.68.3:5060;transport=udp SIP/2.0
>   Record-Route: <sip:80.70.68.2;avp=R28DBwBhY2NvdW50AwB5ZXM;lr=on>
>   Via: SIP/2.0/UDP 80.70.68.2;branch=0
>   Via: SIP/2.0/UDP
> 213.133.160.108:5060
> ;branch=z9hG4bK-d8754z-3c69317b1c51005e-1---d8754z-;rport=5060
>   Max-Forwards: 16
>   Contact: <sip:alex_gusak at 213.133.160.108:5060>
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>
> >;transport=UDP;tag=SpF6B2010aZjr
>   From: "Alex"<sip:alex_gusak at sip.3fon.net <sip%3Aalex_gusak at sip.3fon.net>
> >;transport=UDP;tag=911a4d6a
>   Call-ID: NmFmOTEyNzk2M2I0YzY1YjgzMGI5ZDkxNmFkMDAxYWY.
>   CSeq: 2 ACK
>   Proxy-Authorization: Digest
> username="alex_gusak",realm="sip.3fon.net
> ",nonce="485fb59b1d6101ba5f2e74b7f7efa400567e564a",uri="
> sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>
> ;transport=UDP",response="a1c6bf2304a43695e77b4b3eda455d6c",algorithm=MD5
>   User-Agent: Zoiper rev.647
>   Content-Length: 0
>   P-hint: rr-enforced
>
>   ------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
> recv 872 bytes from udp/[80.70.68.2]:5060 at 14:39:36.595158:
>   ------------------------------------------------------------------------
>   BYE sip:mod_sofia at 80.70.68.3:5060;transport=udp SIP/2.0
>   Record-Route: <sip:80.70.68.2;avp=R28DBwBhY2NvdW50AwB5ZXM;lr=on>
>   Via: SIP/2.0/UDP 80.70.68.2;branch=z9hG4bK56d3.1219a9f4.0
>   Via: SIP/2.0/UDP
> 213.133.160.108:5060
> ;branch=z9hG4bK-d8754z-ea8d088a792c9a0d-1---d8754z-;rport=5060
>   Max-Forwards: 16
>   Contact: <sip:alex_gusak at 213.133.160.108:5060>
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>
> >;transport=UDP;tag=SpF6B2010aZjr
>   From: "Alex"<sip:alex_gusak at sip.3fon.net <sip%3Aalex_gusak at sip.3fon.net>
> >;transport=UDP;tag=911a4d6a
>   Call-ID: NmFmOTEyNzk2M2I0YzY1YjgzMGI5ZDkxNmFkMDAxYWY.
>   CSeq: 3 BYE
>   Proxy-Authorization: Digest
> username="alex_gusak",realm="sip.3fon.net
> ",nonce="485fb59b1d6101ba5f2e74b7f7efa400567e564a",uri="sip:mod_sofia at 80.70.68.3:5060
> ;transport=udp",response="6a5e94824d92cfdded2ab82c748366d7",algorithm=MD5
>   User-Agent: Zoiper rev.647
>   Content-Length: 0
>   P-hint: rr-enforced
>   P-RTP-Proxy: UNFORCED
>
>   ------------------------------------------------------------------------
> send 613 bytes to udp/[80.70.68.2]:5060 at 14:39:36.595570:
>   ------------------------------------------------------------------------
>   SIP/2.0 200 OK
>   Via: SIP/2.0/UDP 80.70.68.2;branch=z9hG4bK56d3.1219a9f4.0;rport=5060
>   Via: SIP/2.0/UDP
> 213.133.160.108:5060
> ;branch=z9hG4bK-d8754z-ea8d088a792c9a0d-1---d8754z-;rport=5060
>   From: "Alex"<sip:alex_gusak at sip.3fon.net <sip%3Aalex_gusak at sip.3fon.net>
> >;transport=UDP;tag=911a4d6a
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>
> >;transport=UDP;tag=SpF6B2010aZjr
>   Call-ID: NmFmOTEyNzk2M2I0YzY1YjgzMGI5ZDkxNmFkMDAxYWY.
>   CSeq: 3 BYE
>   User-Agent: FreeSWITCH-mod_sofia/1.0.0-hacked
>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
> SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
>   Supported: 100rel, precondition, timer
>   Content-Length: 0
>
>   ------------------------------------------------------------------------
> send 696 bytes to udp/[80.70.68.2]:5060 at 14:39:36.600941:
>   ------------------------------------------------------------------------
>   BYE sip:Edward at 213.133.167.186:55348;rinstance=e598a23315cac44e SIP/2.0
>   Via: SIP/2.0/UDP 80.70.68.3;rport;branch=z9hG4bKUaKSS6r1acX4B
>   Route: <sip:80.70.68.2;lr;avp=R28DBwBhY2NvdW50AwB5ZXM>
>   Max-Forwards: 70
>   From: "Alex" <sip:alex_gusak at 80.70.68.3 <sip%3Aalex_gusak at 80.70.68.3>
> >;tag=tZ8yDXH5XKN5K
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>;tag=e961e62b
>   Call-ID: 04b7e7fd-bbd5-122b-ff86-cd5a86150e3c
>   CSeq: 100997647 BYE
>   Contact: <sip:mod_sofia at 80.70.68.3:5060>
>   User-Agent: FreeSWITCH-mod_sofia/1.0.0-hacked
>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
> SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
>   Supported: 100rel, precondition, timer
>   Reason: Q.850;cause=16;text="NORMAL_CLEARING"
>   Content-Length: 0
>
>   ------------------------------------------------------------------------
> recv 439 bytes from udp/[80.70.68.2]:5060 at 14:39:36.626800:
>   ------------------------------------------------------------------------
>   SIP/2.0 200 OK
>   Via: SIP/2.0/UDP 80.70.68.3;rport=5060;branch=z9hG4bKUaKSS6r1acX4B
>   Record-Route: <sip:80.70.68.2;lr;avp=R28DBwBhY2NvdW50AwB5ZXM>
>   Contact: <sip:Edward at 213.133.167.186:55348;rinstance=e598a23315cac44e>
>   To: <sip:edward at sip.3fon.net <sip%3Aedward at sip.3fon.net>>;tag=e961e62b
>   From: "Alex"<sip:alex_gusak at 80.70.68.3 <sip%3Aalex_gusak at 80.70.68.3>
> >;tag=tZ8yDXH5XKN5K
>   Call-ID: 04b7e7fd-bbd5-122b-ff86-cd5a86150e3c
>   CSeq: 100997647 BYE
>   User-Agent: Zoiper rev.647
>   Content-Length: 0
>
>   ------------------------------------------------------------------------
>
>
>
>
>
>
> --
> Alex Gusak
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080623/d5106703/attachment-0002.html 


More information about the FreeSWITCH-users mailing list