[Freeswitch-users] Having trouble establishing a call

Mark Sobkow m.sobkow at marketelsystems.com
Tue Feb 9 12:26:09 PST 2010


Andrew Thompson wrote:
> On Tue, Feb 09, 2010 at 12:46:54PM -0600, Mark Sobkow wrote:
>   
>> We're using Erlang to serve up the configurations to Freeswitch.  I've 
>> got things configured such that I can place a call from a SIP phone 
>> registered to extension 5000 to our "external" SIP provider (our 
>> Asterisk installation), but I can't place a call to extension 5001 from 
>> 5000.  Below is the trace log Freeswitch produces when I attempt to do so.
>>
>> Any suggestions as to what I should be looking at?  The directory seems 
>> to be getting served up correctly, as it provides the passwords both SIP 
>> softphones are using to register with Freeswitch.  I'd have thought that 
>> once they've registered with FS, the extension would automatically be 
>> recognized when an incoming call is placed or bridged, but such does not 
>> seem to be the case.
>>
>>     
>
> Looks like the other sip box (sofia/external/5001 at testsrv.marketel) is
> returning the failure code. Check the config on the other side? Don't
> you have a gateway setup for this other machine so you couls do
> sofia/gateway/testsrv.marketel/5001 instead?
>
> Andrew
>
> _______________________________________________
> 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
>
>   
After about 6 hours of debugging and digging, I finally got the 
Freeswitch installation to dial extensions attached/registered to it.

Buried away in the Freeswitch wikis are 2-3 lines of example for 
mod_sofia that show using a % to separate the extension/number and the 
server name instead of the @ sign that's using in 99% of the 
documentation.  The % syntax means "local".

*sigh*

Now I can get on with working on the conference automated dialing code 
that I was originally trying to prototype through the command line.  
Those commands just weren't working 'cause I was using the @ syntax so 
it was attempting to find a remote server named testsrv.marketel instead 
of routing the call through the local registration list.

-- 
Mark Sobkow
Senior Developer
MarkeTel Multi-Line Dialing Systems LTD.
428 Victoria Ave
Regina, SK S4N-0P6
Toll-Free: 800-289-8616-X533
Local: 306-359-6893-X533
Fax: 306-359-6879
Email: m.sobkow at marketelsystems.com
Web: http://www.marketelsystems.com 





More information about the FreeSWITCH-users mailing list