[Freeswitch-users] Passthru mode
FERNANDO VILLARROEL
fvillarroel at yahoo.com
Mon Jun 1 15:20:27 PDT 2009
Hello the dial plan:
<action application="bridge" data="sofia/gateway/ubb/$1$2$3"/>
This i setup from Wikipbx.
--- On Mon, 6/1/09, Michael Collins <msc at freeswitch.org> wrote:
> From: Michael Collins <msc at freeswitch.org>
> Subject: Re: [Freeswitch-users] Passthru mode
> To: freeswitch-users at lists.freeswitch.org
> Date: Monday, June 1, 2009, 2:15 PM
> What does your dialplan look like? Just
> curious where/how you set proxy-media mode.
> -MC
>
> On Mon, Jun 1, 2009 at 9:54 AM,
> FERNANDO VILLARROEL <fvillarroel at yahoo.com>
> wrote:
>
>
>
> Dear all.
>
>
>
> I have problem with g729 passthru mode.
>
>
>
> I received traffic from a Asterisk on my FS and forward to
> other Asterisk, when i use codec ulaw this works very well.
>
>
>
> But when i try use G729 i received the following messages
> and SIP Trace:
>
>
>
> 2009-06-01 12:19:20 [NOTICE] switch_channel.c:602
> switch_channel_set_name() New Channel
> sofia/admin/42452904 at 190.208.xx.yy
> [f65514e0-4ec7-11de-9b78-150e2985561f]
>
> 2009-06-01 12:19:20 [DEBUG] sofia.c:3037
> sofia_handle_sip_i_state() Channel
> sofia/admin/42452904 at 190.208.xx.yy entering state
> [received][100]
>
> 2009-06-01 12:19:20 [DEBUG] sofia.c:3044
> sofia_handle_sip_i_state() Remote SDP:
>
> v=0
>
> o=root 25643 25643 IN IP4 190.208.xx.yy
>
> s=session
>
> c=IN IP4 190.208.xx.yy
>
> t=0 0
>
> m=audio 10236 RTP/AVP 18 101
>
> a=rtpmap:18 G729/8000
>
> a=fmtp:18 annexb=no
>
> a=rtpmap:101 telephone-event/8000
>
> a=fmtp:101 0-16
>
> a=silenceSupp:off - - - -
>
>
>
> 2009-06-01 12:19:20 [DEBUG] sofia_glue.c:2955
> sofia_glue_negotiate_sdp() Audio Codec Compare
> [G729:18:8000:0]/[PCMU:0:8000:20]
>
> 2009-06-01 12:19:20 [DEBUG] sofia_glue.c:2915
> sofia_glue_negotiate_sdp() Set 2833 dtmf payload to 101
>
> 2009-06-01 12:19:20 [DEBUG] sofia_glue.c:2955
> sofia_glue_negotiate_sdp() Audio Codec Compare
> [telephone-event:101:8000:0]/[PCMU:0:8000:20]
>
> 2009-06-01 12:19:20 [NOTICE] sofia.c:3246
> sofia_handle_sip_i_state() Hangup
> sofia/admin/42452904 at 190.208.xx.yy [CS_NEW]
> [INCOMPATIBLE_DESTINATION]
>
> 2009-06-01 12:19:20 [DEBUG] switch_channel.c:1660
> switch_channel_perform_hangup() Send signal
> sofia/admin/42452904 at 190.208.xx.yy [KILL]
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_session.c:933
> switch_core_session_signal_state_change() Send signal
> sofia/admin/42452904 at 190.208.xx.yy [BREAK]
>
> send 886 bytes to udp/[190.47.91.83]:60245 at
> 16:19:20.596633:
>
>
> ------------------------------------------------------------------------
>
> SIP/2.0 200 OK
>
> Via: SIP/2.0/UDP
> 192.168.1.124:2051;branch=z9hG4bK-cod9x8o56t2q;rport=60245;received=190.47.91.83
>
> From: "102"
> <sip:102 at 200.111.XXX.XX>;tag=bmke36jc1v
>
> To: "102"
> <sip:102 at 200.111.XXX.XX>;tag=rZp0XXrK9NHFD
>
> Call-ID:
> 3c26700b249f-sryanqz0td8u at snom360-00041323143F
>
> CSeq: 27056 REGISTER
>
> Contact:
> <sip:102 at 192.168.1.124:2051;line=dcnm5x2k>;flow-id=1;q=1.0;+sip.instance="<urn:uuid:72e96588-ebe1-476d-8024-75656b4e007d>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO";expires=30
>
>
> Date: Mon, 01 Jun 2009 16:19:20 GMT
>
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13431
>
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK,
> MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
>
> Supported: timer, precondition, path, replaces
>
> Content-Length: 0
>
>
>
>
> ------------------------------------------------------------------------
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:397
> switch_core_session_run()
> (sofia/admin/42452904 at 190.208.xx.yy) Running State Change
> CS_HANGUP
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:433
> switch_core_session_run()
> (sofia/admin/42452904 at 190.208.xx.yy) State HANGUP
>
> 2009-06-01 12:19:20 [DEBUG] mod_sofia.c:323
> sofia_on_hangup() Channel sofia/admin/42452904 at 190.208.xx.yy
> hanging up, cause: INCOMPATIBLE_DESTINATION
>
> 2009-06-01 12:19:20 [DEBUG] mod_sofia.c:399
> sofia_on_hangup() Responding to INVITE with: 488
>
> send 634 bytes to udp/[190.208.xx.yy]:5060 at
> 16:19:20.603208:
>
>
> ------------------------------------------------------------------------
>
> SIP/2.0 488 Not Acceptable Here
>
> Via: SIP/2.0/UDP
> 190.208.xx.yy:5060;branch=z9hG4bK25dd52ee;rport=5060
>
> From: "452904"
> <sip:42452904 at 190.208.xx.yy>;tag=as4e2616ae
>
> To:
> <sip:56968482060 at 200.111.XXX.XX>;tag=S8FSZr9p6y71r
>
> Call-ID:
> 117330d21f3828470f39a95f538be036 at 190.208.xx.yy
>
> CSeq: 102 INVITE
>
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13431
>
> Accept: application/sdp
>
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK,
> MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
>
> Supported: timer, precondition, path, replaces
>
> Allow-Events: talk, refer
>
> Reason:
> Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
>
> Content-Length: 0
>
>
>
>
> ------------------------------------------------------------------------
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:46
> switch_core_standard_on_hangup()
> sofia/admin/42452904 at 190.208.xx.yy Standard HANGUP, cause:
> INCOMPATIBLE_DESTINATION
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:433
> switch_core_session_run()
> (sofia/admin/42452904 at 190.208.xx.yy) State HANGUP going to
> sleep
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:475
> switch_core_session_run()
> (sofia/admin/42452904 at 190.208.xx.yy) State Change CS_HANGUP
> -> CS_REPORTING
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_session.c:933
> switch_core_session_signal_state_change() Send signal
> sofia/admin/42452904 at 190.208.xx.yy [BREAK]
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:397
> switch_core_session_run()
> (sofia/admin/42452904 at 190.208.xx.yy) Running State Change
> CS_REPORTING
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:607
> switch_core_session_reporting_state()
> (sofia/admin/42452904 at 190.208.xx.yy) State REPORTING
>
> recv 408 bytes from udp/[190.208.xx.yy]:5060 at
> 16:19:20.620338:
>
>
> ------------------------------------------------------------------------
>
> ACK sip:56968482060 at 200.111.XXX.XX SIP/2.0
>
> Via: SIP/2.0/UDP
> 190.208.xx.yy:5060;branch=z9hG4bK25dd52ee;rport
>
> From: "452904"
> <sip:42452904 at 190.208.xx.yy>;tag=as4e2616ae
>
> To:
> <sip:56968482060 at 200.111.XXX.XX>;tag=S8FSZr9p6y71r
>
> Contact: <sip:42452904 at 190.208.xx.yy>
>
> Call-ID:
> 117330d21f3828470f39a95f538be036 at 190.208.xx.yy
>
> CSeq: 102 ACK
>
> User-Agent: Asterisk PBX
>
> Max-Forwards: 70
>
> Content-Length: 0
>
>
>
>
> ------------------------------------------------------------------------
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:53
> switch_core_standard_on_reporting()
> sofia/admin/42452904 at 190.208.xx.yy Standard REPORTING,
> cause: INCOMPATIBLE_DESTINATION
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:607
> switch_core_session_reporting_state()
> (sofia/admin/42452904 at 190.208.xx.yy) State REPORTING going
> to sleep
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:410
> switch_core_session_run()
> (sofia/admin/42452904 at 190.208.xx.yy) State Change
> CS_REPORTING -> CS_DESTROY
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_session.c:1067
> switch_core_session_thread() Session 7
> (sofia/admin/42452904 at 190.208.xx.yy) Locked, Waiting on
> external entities
>
> 2009-06-01 12:19:20 [NOTICE] switch_core_session.c:1085
> switch_core_session_thread() Session 7
> (sofia/admin/42452904 at 190.208.xx.yy) Ended
>
> 2009-06-01 12:19:20 [NOTICE] switch_core_session.c:1087
> switch_core_session_thread() Close Channel
> sofia/admin/42452904 at 190.208.xx.yy [CS_DESTROY]
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:559
> switch_core_session_destroy_state()
> (sofia/admin/42452904 at 190.208.xx.yy) State DESTROY
>
> 2009-06-01 12:19:20 [DEBUG] mod_sofia.c:240
> sofia_on_destroy() sofia/admin/42452904 at 190.208.xx.yy SOFIA
> DESTROY
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:60
> switch_core_standard_on_destroy()
> sofia/admin/42452904 at 190.208.xx.yy Standard DESTROY
>
> 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:559
> switch_core_session_destroy_state()
> (sofia/admin/42452904 at 190.208.xx.yy) State DESTROY going to
> sleep
>
>
>
> My vars.xml :
>
>
>
> <X-PRE-PROCESS cmd="set"
> data="global_codec_prefs=G722,PCMU,PCMA,GSM,G729"/>
>
> <X-PRE-PROCESS cmd="set"
> data="outbound_codec_prefs=G722,PCMU,PCMA,GSM,G729"/>
>
> <X-PRE-PROCESS cmd="set"
> data="xmpp_client_profile=xmppc"/>
>
> <X-PRE-PROCESS cmd="set"
> data="xmpp_server_profile=xmpps"/>
>
>
>
>
>
> I hope your comments for know where is the config problem
>
>
>
> Fernando.
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> 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
>
>
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> 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
>
More information about the FreeSWITCH-users
mailing list