[Freeswitch-users] Sending SIP calls via outbound proxy

David Knell dave at 3c.co.uk
Tue Dec 9 21:26:27 PST 2008


Hi Erick,

Not sure if you've tried this (or if it'll help), but you can force 
routing in the dialplan like so:
<action application="set" data="sip_h_Route=<sip:@11.22.33.44;lr>" />
<action application="bridge" data="sofia/gateway/gw/$1"/>

Cheers --

Dave


> i forgot to give you the pastebin URL
> http://pastebin.freeswitch.org/6379
>
>   
>> I'm running latest trunk - Revision: 10682
>>
>> I've been doing an ngrep on my external freeswitch SIP port and FS
>> is not sending any SIP packets anywhere when I run the following command.
>> Bumping up TPORT_LOG to 9 also confirms this, as no SIP packets are 
>> logged.
>>
>> originate
>> 'sofia/external/erick at ejjohnson.org;fs_path=proxybeta.jnctn.net' 
>> &echo()
>>
>> Also, just to be clear, when I remove ";fs_path=..." from the command
>> above a call
>> is set up normally to erick at ejjohnson.org and the SIP packets are 
>> logged
>> to console.
>>
>> Thanks guys.
>>
>>     
>>> What SVN rev are you running? Also, could you do a SIP trace?
>>> TPORT_LOG=1 && /usr/local/freeswitch/bin/freeswitch
>>> Pastebin the output of that and we'll take it from there.
>>> -MC
>>>
>>> On Tue, Dec 9, 2008 at 11:41 AM, Erick Johnson
>>> <erick at junctionnetworks.com> wrote:
>>>       
>>>> Both:
>>>>
>>>> originate sofia/external/'erick at
>>>>         
>>> ejjohnson.org;fs_path=proxybeta.foo.net'
>>>       
>>>> &echo()
>>>> originate sofia/external/erick at
>>>>         
>>> ejjohnson.org;fs_path=proxybeta.foo.net
>>>       
>>>> &echo()
>>>>
>>>> produce the exact same result & log
>>>>
>>>> :(
>>>>
>>>>         
>>>>> * I think you need to '' the sofia uri /b
>>>>>           
>>>>         
>>     
>
>   


-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 3002 7257  M: 001 415 630 3031
http://www.3c.co.uk 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081210/c318fb30/attachment-0002.html 


More information about the FreeSWITCH-users mailing list