[Freeswitch-users] PCMA stranges

Boris Kovalenko boris at tagnet.ru
Thu Jan 20 19:39:04 MSK 2011


Hello!

     Yes, I know the media is ignored, so I wondering about this codec 
strangenes. What test I have done:

SoftPhone (g711ulaw) -> FS -> Cisco 5350 : working
SoftPhone (g711alaw, proxy_media=true) -> FS -> Cisco 5350 : not working
SoftPhone (g711alaw, proxy_media=false) -> FS -> Cisco 5350 : working
SoftPhone (g711alaw) -> Cisco 5350 : working


> proxy media means media is ignored, its not ever touched.  Its
> designed to transparently pass media even if FS is unaware of the
> codec.
> So if you say you are using proxy media and you have codec specific
> problems it seems peculiar.
>
>
> On Thu, Jan 20, 2011 at 8:07 AM, Boris Kovalenko<boris at tagnet.ru>  wrote:
>> Hello!
>>
>>      I found that problem is somewhere inside freeswitch. Direct call between
>> SoftPhone and Cisco is working fine.
>>
>> Hello!
>>
>>      David, may You explain why this problem is with G711A only? When I use
>> G711U there are no problems and call is established and I may talk.
>>
>> The Cisco never sends the 200/OK after the 183, so the call is not
>> established.
>> David Ponzone  Direction Technique
>> email: david.ponzone at ipeva.fr
>> tel:      01 74 03 18 97
>> gsm:   06 66 98 76 34
>> Service Client IPeva
>> tel:      0811 46 26 26
>> www.ipeva.fr  -   www.ipeva-studio.com
>> Ce message et toutes les pièces jointes sont confidentiels et établis à
>> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
>> non autorisée est interdite. Tout message électronique est susceptible
>> d'altération. IPeva décline toute responsabilité au titre de ce message s'il
>> a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce
>> message, merci de le détruire immédiatement et d'avertir l'expéditeur.
>>
>>
>>
>> Le 20/01/2011 à 11:35, Boris Kovalenko a écrit :
>>
>> Hello!
>>
>>      My network configuration is:
>> Softphone (eyeBeam 1.5) with only G711alaw enabled ->  FreeSWITCH Version
>> 1.0.head (git-0cf1d54 2011-01-19 16-36-04 -0500) ->  Cisco AS5350
>>
>> proxy_media=true in profile.
>> So, when I do a test call, there is SDP but no RTP between FS and CISCO,
>> so I can't hear voice. With G711ulaw there are no problems. What is
>> wrong? Siptrace below:
>>
>>     ------------------------------------------------------------------------
>>     INVITE sip:73435327569 at default SIP/2.0
>>     Via: SIP/2.0/UDP
>> X.X.29.123:21556;branch=z9hG4bK-d8754z-dd2b0e57f511a000-1---d8754z-;rport
>>     Max-Forwards: 70
>>     Contact:<sip:50001 at X.X.29.123:21556>
>>     To: "73435327569"<sip:73435327569 at default>
>>     From: "TAGNet"<sip:50001 at default>;tag=6c41dc5a
>>     Call-ID: YWEwYjEzNWE3ZTI1NWY0YTEyN2Y0M2Y4ZjZjMjU4YzE.
>>     CSeq: 1 INVITE
>>     Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
>> SUBSCRIBE, INFO
>>     Content-Type: application/sdp
>>     User-Agent: eyeBeam release 1102u stamp 52345
>>     Content-Length: 337
>>
>>     v=0
>>     o=- 1 2 IN IP4 192.168.3.253
>>     s=CounterPath eyeBeam 1.5
>>     c=IN IP4 192.168.3.253
>>     t=0 0
>>     m=audio 40032 RTP/AVP 8 101
>>     a=alt:1 3 : XdMyLUqb Fs2PLxKV 192.168.3.253 40032
>>     a=alt:2 2 : 2qrc/CQ7 Z/9XFQZl 172.16.3.253 40032
>>     a=alt:3 1 : 8BOwI53P +ENGEr/U X.X.29.123 40032
>>     a=fmtp:101 0-15
>>     a=rtpmap:101 telephone-event/8000
>>     a=sendrecv
>>     ------------------------------------------------------------------------
>> send 385 bytes to udp/[X.X.29.123]:21556 at 10:30:31.313366:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 100 Trying
>>     Via: SIP/2.0/UDP
>> X.X.29.123:21556;branch=z9hG4bK-d8754z-dd2b0e57f511a000-1---d8754z-;rport=21556
>>     From: "TAGNet"<sip:50001 at default>;tag=6c41dc5a
>>     To: "73435327569"<sip:73435327569 at default>
>>     Call-ID: YWEwYjEzNWE3ZTI1NWY0YTEyN2Y0M2Y4ZjZjMjU4YzE.
>>     CSeq: 1 INVITE
>>     User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-0cf1d54 2011-01-19
>> 16-36-04 -0500
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> 2011-01-20 15:30:31.313448 [NOTICE] switch_channel.c:808 New Channel
>> sofia/epbx/50001 at default [95698968-8cf9-40a2-91ad-1322fcfc76af]
>> 2011-01-20 15:30:31.322338 [INFO] mod_dialplan_xml.c:331 Processing
>> TAGNet<50001>->73435327569 in context public
>> 2011-01-20 15:30:31.323362 [INFO] mod_dialplan_xml.c:331 Processing
>> TAGNet<50001>->ext_translate_extsrc in context features
>> 2011-01-20 15:30:31.324357 [NOTICE] switch_ivr.c:1606 Transfer
>> sofia/epbx/50001 at default to XML[73435327569 at top.ctx]
>> 2011-01-20 15:30:31.325352 [INFO] mod_dialplan_xml.c:331 Processing
>> TAGNet<50001>->73435327569 in context top.ctx
>> 2011-01-20 15:30:31.326344 [NOTICE] mod_dptools.c:1174 [top.ctx] - ext_local
>> 2011-01-20 15:30:31.329360 [NOTICE] switch_channel.c:808 New Channel
>> sofia/epbx/73435327569 at X.X.16.83:5060 [b9654c75-039a-4780-bc00-0fae65f92a9a]
>> send 1276 bytes to udp/[X.X.16.83]:5060 at 10:30:31.330623:
>>     ------------------------------------------------------------------------
>>     INVITE sip:73435327569 at X.X.16.83:5060 SIP/2.0
>>     Via: SIP/2.0/UDP Y.Y.138.187;rport;branch=z9hG4bKar3ygD17yt4Fc
>>     Max-Forwards: 68
>>     From: "TAGNet"<sip:50001 at Y.Y.138.187>;tag=c25KrU80er12p
>>     To:<sip:73435327569 at X.X.16.83:5060>
>>     Call-ID: 25e9ebed-9f23-122e-b98f-002354cb08ac
>>     CSeq: 7423651 INVITE
>>     Contact:<sip:mod_sofia at Y.Y.138.187:5060>
>>     User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-0cf1d54 2011-01-19
>> 16-36-04 -0500
>>     Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>     Supported: timer, precondition, path, replaces
>>     Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
>> sla, include-session-description, presence.winfo, message-summary, refer
>>     Content-Type: application/sdp
>>     Content-Disposition: session
>>     Content-Length: 341
>>     X-FS-Support: update_display
>>     Remote-Party-ID: "TAGNet"
>> <sip:50001 at Y.Y.138.187>;party=calling;screen=yes;privacy=off
>>
>>     v=0
>>     o=FreeSWITCH 1627720692 1627720693 IN IP4 Y.Y.138.187
>>     s=FreeSWITCH
>>     c=IN IP4 Y.Y.138.187
>>     t=0 0
>>     m=audio 23442 RTP/AVP 8 101
>>     a=rtpmap:101 telephone-event/8000
>>     a=fmtp:101 0-15
>>     a=alt:1 3 : XdMyLUqb Fs2PLxKV 192.168.3.253 40032
>>     a=alt:2 2 : 2qrc/CQ7 Z/9XFQZl 172.16.3.253 40032
>>     a=alt:3 1 : 8BOwI53P +ENGEr/U X.X.29.123 40032
>>     ------------------------------------------------------------------------
>> recv 396 bytes from udp/[X.X.16.83]:5060 at 10:30:31.341106:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 100 Trying
>>     Via: SIP/2.0/UDP Y.Y.138.187;rport;branch=z9hG4bKar3ygD17yt4Fc
>>     From: "TAGNet"<sip:50001 at Y.Y.138.187>;tag=c25KrU80er12p
>>     To:<sip:73435327569 at X.X.16.83:5060>;tag=D57E4-1D19
>>     Date: Thu, 20 Jan 2011 10:30:31 GMT
>>     Call-ID: 25e9ebed-9f23-122e-b98f-002354cb08ac
>>     Server: Cisco-SIPGateway/IOS-12.x
>>     CSeq: 7423651 INVITE
>>     Allow-Events: telephone-event
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> recv 814 bytes from udp/[X.X.16.83]:5060 at 10:30:32.401494:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 183 Session Progress
>>     Via: SIP/2.0/UDP Y.Y.138.187;rport;branch=z9hG4bKar3ygD17yt4Fc
>>     From: "TAGNet"<sip:50001 at Y.Y.138.187>;tag=c25KrU80er12p
>>     To:<sip:73435327569 at X.X.16.83:5060>;tag=D57E4-1D19
>>     Date: Thu, 20 Jan 2011 10:30:31 GMT
>>     Call-ID: 25e9ebed-9f23-122e-b98f-002354cb08ac
>>     Server: Cisco-SIPGateway/IOS-12.x
>>     CSeq: 7423651 INVITE
>>     Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER,
>> SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER
>>     Allow-Events: telephone-event
>>     Contact:<sip:73435327569 at X.X.16.83:5060>
>>     Content-Disposition: session;handling=required
>>     Content-Type: application/sdp
>>     Content-Length: 176
>>
>>     v=0
>>     o=CiscoSystemsSIP-GW-UserAgent 4564 1578 IN IP4 X.X.16.83
>>     s=SIP Call
>>     c=IN IP4 X.X.16.83
>>     t=0 0
>>     m=audio 17770 RTP/AVP 8
>>     c=IN IP4 X.X.16.83
>>     a=rtpmap:8 PCMA/8000
>>     ------------------------------------------------------------------------
>> 2011-01-20 15:30:32.401362 [INFO] sofia.c:729
>> sofia/epbx/73435327569 at X.X.16.83:5060 Update Callee ID to "Outbound
>> Call"<73435327569>
>> 2011-01-20 15:30:32.409363 [NOTICE] sofia.c:4739 Pre-Answer
>> sofia/epbx/73435327569 at X.X.16.83:5060!
>> 2011-01-20 15:30:32.415412 [INFO] switch_ivr_originate.c:3345 Sending
>> early media
>> 2011-01-20 15:30:32.416367 [NOTICE] mod_sofia.c:2252 Pre-Answer
>> sofia/epbx/50001 at default!
>> send 1145 bytes to udp/[X.X.29.123]:21556 at 10:30:32.418195:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 183 Session Progress
>>     Via: SIP/2.0/UDP
>> X.X.29.123:21556;branch=z9hG4bK-d8754z-dd2b0e57f511a000-1---d8754z-;rport=21556
>>     From: "TAGNet"<sip:50001 at default>;tag=6c41dc5a
>>     To: "73435327569"<sip:73435327569 at default>;tag=BScUp0QXHFBgB
>>     Call-ID: YWEwYjEzNWE3ZTI1NWY0YTEyN2Y0M2Y4ZjZjMjU4YzE.
>>     CSeq: 1 INVITE
>>     Contact:<sip:73435327569 at Y.Y.138.187:5060;transport=udp>
>>     User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-0cf1d54 2011-01-19
>> 16-36-04 -0500
>>     Accept: application/sdp
>>     Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>     Supported: timer, precondition, path, replaces
>>     Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
>> sla, include-session-description, presence.winfo, message-summary, refer
>>     Content-Type: application/sdp
>>     Content-Disposition: session
>>     Content-Length: 181
>>     Remote-Party-ID: "73435327569"
>> <sip:73435327569 at Y.Y.138.187>;party=calling;privacy=off;screen=no
>>
>>     v=0
>>     o=FreeSWITCH 1627752513 1627752514 IN IP4 Y.Y.138.187
>>     s=FreeSWITCH
>>     c=IN IP4 Y.Y.138.187
>>     t=0 0
>>     m=audio 25806 RTP/AVP 8
>>     c=IN IP4 Y.Y.138.187
>>     a=rtpmap:8 PCMA/8000
>>
>>     ------------------------------------------------------------------------
>> recv 365 bytes from udp/[X.X.29.123]:21556 at 10:30:39.196791:
>>     ------------------------------------------------------------------------
>>     CANCEL sip:73435327569 at default SIP/2.0
>>     Via: SIP/2.0/UDP
>> X.X.29.123:21556;branch=z9hG4bK-d8754z-dd2b0e57f511a000-1---d8754z-;rport
>>     To: "73435327569"<sip:73435327569 at default>
>>     From: "TAGNet"<sip:50001 at default>;tag=6c41dc5a
>>     Call-ID: YWEwYjEzNWE3ZTI1NWY0YTEyN2Y0M2Y4ZjZjMjU4YzE.
>>     CSeq: 1 CANCEL
>>     User-Agent: eyeBeam release 1102u stamp 52345
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> send 320 bytes to udp/[X.X.29.123]:21556 at 10:30:39.196905:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 200 OK
>>     Via: SIP/2.0/UDP
>> X.X.29.123:21556;branch=z9hG4bK-d8754z-dd2b0e57f511a000-1---d8754z-;rport=21556
>>     From: "TAGNet"<sip:50001 at default>;tag=6c41dc5a
>>     To: "73435327569"<sip:73435327569 at default>;tag=BScUp0QXHFBgB
>>     Call-ID: YWEwYjEzNWE3ZTI1NWY0YTEyN2Y0M2Y4ZjZjMjU4YzE.
>>     CSeq: 1 CANCEL
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> send 715 bytes to udp/[X.X.29.123]:21556 at 10:30:39.197002:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 487 Request Terminated
>>     Via: SIP/2.0/UDP
>> X.X.29.123:21556;branch=z9hG4bK-d8754z-dd2b0e57f511a000-1---d8754z-;rport=21556
>>     From: "TAGNet"<sip:50001 at default>;tag=6c41dc5a
>>     To: "73435327569"<sip:73435327569 at default>;tag=BScUp0QXHFBgB
>>     Call-ID: YWEwYjEzNWE3ZTI1NWY0YTEyN2Y0M2Y4ZjZjMjU4YzE.
>>     CSeq: 1 INVITE
>>     User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-0cf1d54 2011-01-19
>> 16-36-04 -0500
>>     Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>     Supported: timer, precondition, path, replaces
>>     Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
>> sla, include-session-description, presence.winfo, message-summary, refer
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> 2011-01-20 15:30:39.196838 [NOTICE] sofia.c:5286 Hangup
>> sofia/epbx/50001 at default [CS_EXECUTE] [ORIGINATOR_CANCEL]
>> 2011-01-20 15:30:39.196838 [NOTICE] switch_ivr_bridge.c:653 Hangup
>> sofia/epbx/73435327569 at X.X.16.83:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
>> recv 331 bytes from udp/[X.X.29.123]:21556 at 10:30:39.198834:
>>     ------------------------------------------------------------------------
>>     ACK sip:73435327569 at default SIP/2.0
>>     Via: SIP/2.0/UDP
>> X.X.29.123:21556;branch=z9hG4bK-d8754z-dd2b0e57f511a000-1---d8754z-;rport
>>     To: "73435327569"<sip:73435327569 at default>;tag=BScUp0QXHFBgB
>>     From: "TAGNet"<sip:50001 at default>;tag=6c41dc5a
>>     Call-ID: YWEwYjEzNWE3ZTI1NWY0YTEyN2Y0M2Y4ZjZjMjU4YzE.
>>     CSeq: 1 ACK
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> 2011-01-20 15:30:39.204838 [NOTICE] switch_core_session.c:1306 Session
>> 99 (sofia/epbx/50001 at default) Ended
>> 2011-01-20 15:30:39.204838 [NOTICE] switch_core_session.c:1308 Close
>> Channel sofia/epbx/50001 at default [CS_DESTROY]
>> send 372 bytes to udp/[X.X.16.83]:5060 at 10:30:39.212574:
>>     ------------------------------------------------------------------------
>>     CANCEL sip:73435327569 at X.X.16.83:5060 SIP/2.0
>>     Via: SIP/2.0/UDP Y.Y.138.187;rport;branch=z9hG4bKar3ygD17yt4Fc
>>     Max-Forwards: 68
>>     From: "TAGNet"<sip:50001 at Y.Y.138.187>;tag=c25KrU80er12p
>>     To:<sip:73435327569 at X.X.16.83:5060>
>>     Call-ID: 25e9ebed-9f23-122e-b98f-002354cb08ac
>>     CSeq: 7423651 CANCEL
>>     Reason: Q.850;cause=16;text="NORMAL_CLEARING"
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> 2011-01-20 15:30:39.212840 [NOTICE] switch_core_session.c:1306 Session
>> 100 (sofia/epbx/73435327569 at X.X.16.83:5060) Ended
>> 2011-01-20 15:30:39.212840 [NOTICE] switch_core_session.c:1308 Close
>> Channel sofia/epbx/73435327569 at X.X.16.83:5060 [CS_DESTROY]
>> recv 311 bytes from udp/[X.X.16.83]:5060 at 10:30:39.216838:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 200 OK
>>     Via: SIP/2.0/UDP Y.Y.138.187;rport;branch=z9hG4bKar3ygD17yt4Fc
>>     From: "TAGNet"<sip:50001 at Y.Y.138.187>;tag=c25KrU80er12p
>>     To:<sip:73435327569 at X.X.16.83:5060>
>>     Date: Thu, 20 Jan 2011 10:30:39 GMT
>>     Call-ID: 25e9ebed-9f23-122e-b98f-002354cb08ac
>>     Content-Length: 0
>>     CSeq: 7423651 CANCEL
>>
>>     ------------------------------------------------------------------------
>> recv 407 bytes from udp/[X.X.16.83]:5060 at 10:30:39.219180:
>>     ------------------------------------------------------------------------
>>     SIP/2.0 487 Request Cancelled
>>     Via: SIP/2.0/UDP Y.Y.138.187;rport;branch=z9hG4bKar3ygD17yt4Fc
>>     From: "TAGNet"<sip:50001 at Y.Y.138.187>;tag=c25KrU80er12p
>>     To:<sip:73435327569 at X.X.16.83:5060>;tag=D57E4-1D19
>>     Date: Thu, 20 Jan 2011 10:30:39 GMT
>>     Call-ID: 25e9ebed-9f23-122e-b98f-002354cb08ac
>>     Server: Cisco-SIPGateway/IOS-12.x
>>     CSeq: 7423651 INVITE
>>     Allow-Events: telephone-event
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>> send 334 bytes to udp/[X.X.16.83]:5060 at 10:30:39.219276:
>>     ------------------------------------------------------------------------
>>     ACK sip:73435327569 at X.X.16.83:5060 SIP/2.0
>>     Via: SIP/2.0/UDP Y.Y.138.187;rport;branch=z9hG4bKar3ygD17yt4Fc
>>     Max-Forwards: 68
>>     From: "TAGNet"<sip:50001 at Y.Y.138.187>;tag=c25KrU80er12p
>>     To:<sip:73435327569 at X.X.16.83:5060>;tag=D57E4-1D19
>>     Call-ID: 25e9ebed-9f23-122e-b98f-002354cb08ac
>>     CSeq: 7423651 ACK
>>     Content-Length: 0
>>
>>     ------------------------------------------------------------------------
>>
>>
>> --
>> С уважением,
>>    Борис Коваленко
>>    ЗАО "Тагнет"
>>    (3435) 494991
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>>
>> --
>> С уважением,
>>    Борис Коваленко
>>    ЗАО "Тагнет"
>>    (3435) 494991
>>
>>
>> _______________________________________________
>> 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
>>
>>
>> --
>> С уважением,
>>    Борис Коваленко
>>    ЗАО "Тагнет"
>>    (3435) 494991
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>


-- 
С уважением,
   Борис Коваленко
   ЗАО "Тагнет"
   (3435) 494991





More information about the FreeSWITCH-users mailing list