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

Brian West brian at freeswitch.org
Sat Nov 14 17:41:48 PST 2009


Paul,
	The channel name is useless it means absolutely NOTHING in  
FreeSWITCH... what matters in FreeSWITCH is the uuid.  You can even  
set the channel names to what ever you like with the include app in  
dptools.

set_name,Name the channel,<name>,mod_dptools

So to answer your question.  No it shouldn't have the gateway name in  
the channel name... As for the 500 error your provider responded 500  
Internal Server Error.

Pre-Answer is usually early media.

/b

On Nov 14, 2009, at 7:11 PM, Paul Thirumalai wrote:

> 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.23 hash(insert/11.111.123.23- 
> last_dial/global/115be3f6-d01c-11de-8360-976b377ef920)
> EXECUTE sofia/internal/1000 at 11.111.123.23 bridge(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
>
> _______________________________________________
> 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

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


More information about the FreeSWITCH-users mailing list