Re: [Freeswitch-users] Passthru mode
On 3-Jun-09, at 2:32 AM, Jim Burke wrote: Fernando, Try setting 'inbound-late-negotiation' in your SIP Profile. This will allow the call to hit the dialplan where you can set proxy_media. This also assumes you have bypass_media set to false in your dialplan. Alternatively I beleive you can set inbound-proxy-media in the SIP Profile and this will do the same thing. But you still need late negotiation for that to work, so in both cases you need to fix that :D Math Regards, Jim On Wed, Jun 3, 2009 at 6:46 AM, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: Dear, I can't solve my problem, i was try with: action application=set data=proxy_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ and: param name=disable-transcoding value=true/ in freeswitch.xml But receive the same log: http://pastebin.freeswitch.org/9204 Anyone help me. Fernando --- On Mon, 6/1/09, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: From: FERNANDO VILLARROEL fvillarr...@yahoo.com Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 8:10 PM Hello i was try with: action application=set data=bypass_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ This is the log on FS_CLI: http://pastebin.freeswitch.org/9204 Fernando --- On Mon, 6/1/09, Michael Collins m...@freeswitch.org wrote: From: Michael Collins m...@freeswitch.org Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 7:41 PM On Mon, Jun 1, 2009 at 3:20 PM, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: Hello the dial plan: action application=bridge data=sofia/gateway/ubb/$1$2$3/ This i setup from Wikipbx. What about this in the dialplan? action application=set data=proxy_media=true/ Or alternatively this in the SIP profile? param name=inbound-proxy-media value=true/ I just want to make sure you're actually telling FS to use proxy media. If I may make a suggestion: use pastebin.freeswitch.org and pastebin the entire extension in the dialplan as well as a complete debug log of the call from the FS CLI. Please see this page for some handy tips on gathering information for troubleshooting: http://wiki.freeswitch.org/wiki/Reporting_Bugs -MC -Inline Attachment Follows- ___ Freeswitch-users mailing list Freeswitch-users@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Passthru mode
I am pretty sure inbound-proxy-media forces late-negotation iirc. On Wed, Jun 3, 2009 at 1:33 AM, Mathieu Rene mrene_li...@avgs.ca wrote: On 3-Jun-09, at 2:32 AM, Jim Burke wrote: Fernando, Try setting 'inbound-late-negotiation' in your SIP Profile. This will allow the call to hit the dialplan where you can set proxy_media. This also assumes you have bypass_media set to false in your dialplan. Alternatively I beleive you can set inbound-proxy-media in the SIP Profile and this will do the same thing. But you still need late negotiation for that to work, so in both cases you need to fix that :D Math Regards, Jim On Wed, Jun 3, 2009 at 6:46 AM, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: Dear, I can't solve my problem, i was try with: action application=set data=proxy_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ and: param name=disable-transcoding value=true/ in freeswitch.xml But receive the same log: http://pastebin.freeswitch.org/9204 Anyone help me. Fernando --- On Mon, 6/1/09, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: From: FERNANDO VILLARROEL fvillarr...@yahoo.com Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 8:10 PM Hello i was try with: action application=set data=bypass_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ This is the log on FS_CLI: http://pastebin.freeswitch.org/9204 Fernando --- On Mon, 6/1/09, Michael Collins m...@freeswitch.org wrote: From: Michael Collins m...@freeswitch.org Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 7:41 PM On Mon, Jun 1, 2009 at 3:20 PM, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: Hello the dial plan: action application=bridge data=sofia/gateway/ubb/$1$2$3/ This i setup from Wikipbx. What about this in the dialplan? action application=set data=proxy_media=true/ Or alternatively this in the SIP profile? param name=inbound-proxy-media value=true/ I just want to make sure you're actually telling FS to use proxy media. If I may make a suggestion: use pastebin.freeswitch.org and pastebin the entire extension in the dialplan as well as a complete debug log of the call from the FS CLI. Please see this page for some handy tips on gathering information for troubleshooting: http://wiki.freeswitch.org/wiki/Reporting_Bugs -MC -Inline Attachment Follows- ___ Freeswitch-users mailing list Freeswitch-users@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@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@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@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@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_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:213-799-1400 ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Passthru mode
Dear, I can't solve my problem, i was try with: action application=set data=proxy_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ and: param name=disable-transcoding value=true/ in freeswitch.xml But receive the same log: http://pastebin.freeswitch.org/9204 Anyone help me. Fernando --- On Mon, 6/1/09, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: From: FERNANDO VILLARROEL fvillarr...@yahoo.com Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 8:10 PM Hello i was try with: action application=set data=bypass_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ This is the log on FS_CLI: http://pastebin.freeswitch.org/9204 Fernando --- On Mon, 6/1/09, Michael Collins m...@freeswitch.org wrote: From: Michael Collins m...@freeswitch.org Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 7:41 PM On Mon, Jun 1, 2009 at 3:20 PM, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: Hello the dial plan: action application=bridge data=sofia/gateway/ubb/$1$2$3/ This i setup from Wikipbx. What about this in the dialplan? action application=set data=proxy_media=true/ Or alternatively this in the SIP profile? param name=inbound-proxy-media value=true/ I just want to make sure you're actually telling FS to use proxy media. If I may make a suggestion: use pastebin.freeswitch.org and pastebin the entire extension in the dialplan as well as a complete debug log of the call from the FS CLI. Please see this page for some handy tips on gathering information for troubleshooting: http://wiki.freeswitch.org/wiki/Reporting_Bugs -MC -Inline Attachment Follows- ___ Freeswitch-users mailing list Freeswitch-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Passthru mode
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 fvillarr...@yahoo.comwrote: 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/42452...@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/42452...@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/42452...@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/42452...@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/42452...@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:1...@200.111.xxx.xx;tag=bmke36jc1v To: 102 sip:1...@200.111.xxx.xx;tag=rZp0XXrK9NHFD Call-ID: 3c26700b249f-sryanqz0t...@snom360-00041323143f CSeq: 27056 REGISTER Contact: sip:1...@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/42452...@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/42452...@190.208.xx.yy) State HANGUP 2009-06-01 12:19:20 [DEBUG] mod_sofia.c:323 sofia_on_hangup() Channel sofia/admin/42452...@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:42452...@190.208.xx.yy;tag=as4e2616ae To: sip:56968482...@200.111.xxx.xx;tag=S8FSZr9p6y71r Call-ID: 117330d21f3828470f39a95f538be...@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/42452...@190.208.xx.yystandard HANGUP, cause: INCOMPATIBLE_DESTINATION 2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:433 switch_core_session_run() (sofia/admin/42452...@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/42452...@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
Re: [Freeswitch-users] Passthru mode
On Mon, Jun 1, 2009 at 3:20 PM, FERNANDO VILLARROEL fvillarr...@yahoo.comwrote: Hello the dial plan: action application=bridge data=sofia/gateway/ubb/$1$2$3/ This i setup from Wikipbx. What about this in the dialplan? action application=set data=proxy_media=true/ Or alternatively this in the SIP profile? param name=inbound-proxy-media value=true/ I just want to make sure you're actually telling FS to use proxy media. If I may make a suggestion: use pastebin.freeswitch.org and pastebin the entire extension in the dialplan as well as a complete debug log of the call from the FS CLI. Please see this page for some handy tips on gathering information for troubleshooting: http://wiki.freeswitch.org/wiki/Reporting_Bugs -MC ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Passthru mode
Hello i was try with: action application=set data=bypass_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ This is the log on FS_CLI: http://pastebin.freeswitch.org/9204 Fernando --- On Mon, 6/1/09, Michael Collins m...@freeswitch.org wrote: From: Michael Collins m...@freeswitch.org Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 7:41 PM On Mon, Jun 1, 2009 at 3:20 PM, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: Hello the dial plan: action application=bridge data=sofia/gateway/ubb/$1$2$3/ This i setup from Wikipbx. What about this in the dialplan? action application=set data=proxy_media=true/ Or alternatively this in the SIP profile? param name=inbound-proxy-media value=true/ I just want to make sure you're actually telling FS to use proxy media. If I may make a suggestion: use pastebin.freeswitch.org and pastebin the entire extension in the dialplan as well as a complete debug log of the call from the FS CLI. Please see this page for some handy tips on gathering information for troubleshooting: http://wiki.freeswitch.org/wiki/Reporting_Bugs -MC -Inline Attachment Follows- ___ Freeswitch-users mailing list Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Passthru mode
Hello i was try with: action application=set data=bypass_media=true/ action application=bridge data=sofia/gateway/ubb/$1$2$3/ This is the log on FS_CLI: http://pastebin.freeswitch.org/9204 Fernando --- On Mon, 6/1/09, Michael Collins m...@freeswitch.org wrote: From: Michael Collins m...@freeswitch.org Subject: Re: [Freeswitch-users] Passthru mode To: freeswitch-users@lists.freeswitch.org Date: Monday, June 1, 2009, 7:41 PM On Mon, Jun 1, 2009 at 3:20 PM, FERNANDO VILLARROEL fvillarr...@yahoo.com wrote: Hello the dial plan: action application=bridge data=sofia/gateway/ubb/$1$2$3/ This i setup from Wikipbx. What about this in the dialplan? action application=set data=proxy_media=true/ Or alternatively this in the SIP profile? param name=inbound-proxy-media value=true/ I just want to make sure you're actually telling FS to use proxy media. If I may make a suggestion: use pastebin.freeswitch.org and pastebin the entire extension in the dialplan as well as a complete debug log of the call from the FS CLI. Please see this page for some handy tips on gathering information for troubleshooting: http://wiki.freeswitch.org/wiki/Reporting_Bugs -MC -Inline Attachment Follows- ___ Freeswitch-users mailing list Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org