[Freeswitch-users] My first call

Brian West brian.west at mac.com
Thu Apr 12 08:18:05 PDT 2007


The issue is setting those IP's to his external.. thats the wrong  
thing to do.  It can't bind to those for sip  usually... setting them  
to auto and making the call will work...  I do it all the time on my  
Mac.

/b

On Apr 12, 2007, at 9:43 AM, Jonas Gauffin wrote:

> The default dialplan will divert calls to the conference system at  
> freeswitch.org.
> that system may have been down when you tried.
>
> try adding some actions which plays sound files instead. Action  
> should be " playback", and data should be the full path to a wave  
> file.
>
> On 4/12/07, Jason Steele <jason.steele at rcsuk.co.uk > wrote:
> Hi,
>
>
> I followed the instructions at http://wiki.freeswitch.org/wiki/ 
> Getting_Started_Guide and changed the settings in freeswitch.xml  
> for domain and subdomain to my (external) IP address and the  
> settings in sofia.conf.xml for rtp-ip and sip-ip also to my  
> (external) IP address.
>
>
> I am behind a NAT, but all ports are forwarded to me.
>
>
> I hit the play button in VS 2005 and FreeSSWITCH appeared to start  
> with no errors.
>
>
> I entered "pa call 1234" at the command prompt.
>
>
> I received no audible indication that a call was being made, should  
> I have done?
>
>
> The call appeared not to connect because of a NO ANSWER, should it  
> have connected?
>
>
> Below is a paste of some of the console output:
>
> (I have replaced my actual ip address with myip
>
>
> 2007-04-12 10:45:05 [DEBUG] mod_dialplan_xml.c:369 dialplan_hunt()  
> PortAudio/123
>
> 4 State Change CS_RING -> CS_EXECUTE
>
> 2007-04-12 10:45:05 [DEBUG] switch_core_state_machine.c:457  
> switch_core_session_
>
> run() (PortAudio/1234) State EXECUTE
>
> 2007-04-12 10:45:05 [DEBUG] mod_portaudio.c:333 channel_on_execute 
> () PortAudio/1
>
> 234 CHANNEL EXECUTE
>
> 2007-04-12 10:45:05 [DEBUG] switch_core_state_machine.c:114  
> switch_core_standard
>
> _on_execute() Standard EXECUTE
>
> 2007-04-12 10:45:05 [NOTICE] switch_core_state_machine.c:124  
> switch_core_standar
>
> d_on_execute() Execute set(absolute_codec_string=PCMU)
>
> 2007-04-12 10:45:05 [DEBUG] mod_dptools.c:302 set_function() SET  
> [absolute_codec
>
> _string]=[PCMU]
>
> 2007-04-12 10:45:05 [NOTICE] switch_core_state_machine.c:124  
> switch_core_standar
>
> d_on_execute() Execute set(export_vars=absolute_codec_string)
>
> 2007-04-12 10:45:05 [DEBUG] mod_dptools.c:302 set_function() SET  
> [export_vars]=[
>
> absolute_codec_string]
>
> 2007-04-12 10:45:05 [NOTICE] switch_core_state_machine.c:124  
> switch_core_standar
>
> d_on_execute() Execute set(ringback=${us-ring})
>
> 2007-04-12 10:45:05 [DEBUG] switch_core_state_machine.c:148  
> switch_core_standard
>
> _on_execute() Expanded String set(ringback=%(2000, 4000, 440.0,  
> 480.0))
>
> 2007-04-12 10:45:05 [DEBUG] mod_dptools.c:302 set_function() SET  
> [ringback]=[%(2
>
> 000, 4000, 440.0, 480.0)]
>
> 2007-04-12 10:45:05 [NOTICE] switch_core_state_machine.c:124  
> switch_core_standar
>
> d_on_execute() Execute bridge( sofia/myip/ 
> 1234 at conference.freeswitch.org)
>
>
> 2007-04-12 10:45:05 [NOTICE] switch_channel.c:347  
> switch_channel_set_name() New
>
> Chan sofia/myip/1234 at conference.freeswitch.org [9c5e5e4d-8b61-394f- 
> a805-
>
> 7b0f50f02451]
>
> 2007-04-12 10:45:05 [DEBUG] mod_sofia.c:957 sofia_outgoing_channel 
> () sofia/82.22
>
> .75.210/1234 at conference.freeswitch.org State Change CS_NEW -> CS_INIT
>
> 2007-04-12 10:45:05 [DEBUG] switch_core_state_machine.c:387  
> switch_core_session_
>
> run() (sofia/myip/1234 at conference.freeswitch.org ) State INIT
>
> 2007-04-12 10:45:05 [DEBUG] mod_sofia.c:86 sofia_on_init() SOFIA INIT
>
> nua: nua_r_invite with invalid handle 00000000
>
> 2007-04-12 10:45:05 [DEBUG] mod_sofia.c:99 sofia_on_init() sofia/ 
> myip/12
>
> 34 at conference.freeswitch.org State Change CS_INIT -> CS_RING
>
> 2007-04-12 10:45:05 [DEBUG] switch_core_state_machine.c:422  
> switch_core_session_
>
> run() (sofia/myip/1234 at conference.freeswitch.org ) State RING
>
> 2007-04-12 10:45:05 [DEBUG] switch_ivr_originate.c:613  
> switch_ivr_originate() Ra
>
> w Codec Activation Success L16 at 8000hz 1 channel 20ms
>
> 2007-04-12 10:45:05 [DEBUG] mod_sofia.c:114 sofia_on_ring() SOFIA RING
>
> 2007-04-12 10:45:05 [DEBUG] switch_ivr_originate.c:660  
> switch_ivr_originate() Pl
>
> ay Ringback Tone [%(2000, 4000, 440.0, 480.0)]
>
> 2007-04-12 10:45:05 [DEBUG] switch_ivr_originate.c:48  
> originate_on_ring() sofia/
>
> myip/1234 at conference.freeswitch.org State Change CS_RING -> CS_HOLD
>
> 2007-04-12 10:45:05 [DEBUG] switch_core_state_machine.c:565  
> switch_core_session_
>
> run() (sofia/myip/1234 at conference.freeswitch.org ) State HOLD
>
> 2007-04-12 10:45:05 [DEBUG] switch_core_state_machine.c:207  
> switch_core_standard
>
> _on_hold() Standard HOLD
>
> 2007-04-12 10:46:05 [NOTICE] switch_ivr_originate.c:798  
> switch_ivr_originate() H
>
> angup sofia/myip/1234 at conference.freeswitch.org [CS_HOLD] [NO_ANSWER]
>
> 2007-04-12 10:46:05 [INFO] switch_channel.c:1026  
> switch_channel_perform_hangup()
>
>  Kill sofia/myip/1234 at conference.freeswitch.org [KILL]
>
> 2007-04-12 10:46:16 [DEBUG] switch_ivr_originate.c:871  
> switch_ivr_originate() Or
>
> iginate Cancelled by originator termination Cause: 19 [NO_ANSWER]
>
> 2007-04-12 10:46:16 [DEBUG] switch_core_state_machine.c:351  
> switch_core_session_
>
> run() (sofia/myip/1234 at conference.freeswitch.org ) State HANGUP
>
> 2007-04-12 10:46:16 [DEBUG] mod_sofia.c:212 sofia_on_hangup()  
> Channel sofia/82.2
>
> 2.75.210/1234 at conference.freeswitch.org hanging up, cause: NO_ANSWER
>
> 2007-04-12 10:46:16 [INFO] mod_bridgecall.c:76 audio_bridge_function 
> () Originate
>
>  Failed.  Cause: NO_ANSWER
>
> 2007-04-12 10:46:16 [DEBUG] switch_core_state_machine.c:45  
> switch_core_standard_
>
> on_hangup() Standard HANGUP sofia/myip/ 
> 1234 at conference.freeswitch.org, c
>
> ause: NO_ANSWER
>
> WinMME StopStream: waiting for background thread.
>
> 2007-04-12 10:46:16 [NOTICE] switch_core_state_machine.c:178  
> switch_core_standar
>
> d_on_execute() Hangup PortAudio/1234 [CS_EXECUTE] [NORMAL_CLEARING]
>
> 2007-04-12 10:46:16 [DEBUG] switch_core_session.c:689  
> switch_core_session_thread
>
> () Session 2 ( sofia/myip/1234 at conference.freeswitch.org) Locked,  
> Waiting
>
>  on external entities
>
> 2007-04-12 10:46:16 [INFO] switch_core_session.c:695  
> switch_core_session_thread(
>
> ) Session 2 ( sofia/myip/1234 at conference.freeswitch.org) Ended
>
> 2007-04-12 10:46:16 [NOTICE] switch_core_session.c:650  
> switch_core_session_destr
>
> oy() Close Channel sofia/myip/1234 at conference.freeswitch.org
>
> 2007-04-12 10:46:16 [INFO] switch_channel.c:1026  
> switch_channel_perform_hangup()
>
>  Kill PortAudio/1234 [KILL]
>
> 2007-04-12 10:46:16 [DEBUG] mod_portaudio.c:479 channel_kill_channel 
> () PortAudio
>
> /1234 CHANNEL KILL
>
> 2007-04-12 10:46:16 [DEBUG] switch_core_state_machine.c:351  
> switch_core_session_
>
> run() (PortAudio/1234) State HANGUP
>
> 2007-04-12 10:46:16 [DEBUG] mod_portaudio.c:425 remove_pvt() No  
> more channels, d
>
> eactivating audio
>
> 2007-04-12 10:46:16 [DEBUG] mod_portaudio.c:455 channel_on_hangup()  
> PortAudio/12
>
> 34 CHANNEL HANGUP
>
> 2007-04-12 10:46:16 [DEBUG] switch_core_state_machine.c:45  
> switch_core_standard_
>
> on_hangup() Standard HANGUP PortAudio/1234, cause: NORMAL_CLEARING
>
>
> Many thanks,
>
>
> Jason
>
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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/20070412/61804251/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 824 bytes
Desc: This is a digitally signed message part
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070412/61804251/attachment-0002.bin 


More information about the FreeSWITCH-users mailing list