[Freeswitch-dev] Question about channel creation messages in logfile

Paul Thirumalai paul.thirumalai at gmail.com
Sat Nov 14 17:33:08 PST 2009


Hello All
I am a freeswitch newbie. I have managed to get internal phones setup on
different computers at home, using X-lite
My issue is with making outbound calls. I'm trying to use voicepulse for
that. My Freeswitch server IP is 11.111.123.23

My issue is as follows. I used extension 1000 (X-Lite softphone) to make an
out going call my cell phone (555-123-1234)
>From the freeswitch.log logfile I see that the channel for 1000 goes from
CS_NEW-> CS_INIT->CS_ROUTING . At this point it starts going through the
dial plans and finds the correct dialplan. According to the dialplan the
outgoing call needs to go to sofia/gateway/voicepulse/5551231234 and I see
the following lines in the logfile
EXECUTE sofia/internal/1000 at 11.111.123.23hash(insert/11.111.123.23-last_dial/global/115be3f6-d01c-11de-8360-976b377ef920)
EXECUTE sofia/internal/1000 at 11.111.123.23bridge(sofia/gateway/voicepulse/5551231234)
*

*This message makes sense to me and appears to be right.  Freeswitch is
trying to bridge a call from extension # 1000 to outbound number 5551231234

Now the very next line I see freeswitch attempting to create a channel to
the outbound number.

2009-11-13 01:16:23.654519 [NOTICE] switch_channel.c:602 New Channel
sofia/external/5551231234 [115c7c76-d01c-11de-8360-976b377ef920]

Please correct me if I'm mistaken, but isnt freeswitch supposed to create a
channel for sofia/gateway/voicepulse/5551231234 and not
sjofia/external/5551231235


In any case the channel to sofia/external/5551231234 changes state from
CS_NEW->CS_INIT->CS_ROUTING->CS_CONSUME_MEDIA .  At this point the
freeswitch gets an Remote SDP, I am assuming from voicepulse.

In the end I see message which reads
2009-11-13 01:16:30.880417 [DEBUG] mod_sofia.c:306 sofia/external/5035440933
Overriding SIP cause 503 with 500 from the other leg

Can someone please tell me what this error means. SIP error code 500 is what
I get in X-Lite also.

Also could someone please explain what Pre-Answer is.

Thanks
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091114/ce01565b/attachment.html 


More information about the FreeSWITCH-dev mailing list