[Freeswitch-users] dialpaln

Michael Jerris mike at jerris.com
Fri Sep 19 06:22:51 PDT 2008


On Sep 19, 2008, at 9:18 AM, Gopal krishnan wrote:

> Hi,
>
>   Since I am not able to make the outbound call, when I use this  
> command <oz dump 1 a> in the console, I used to get the all the 31  
> channels , for a refrence I am posing one channel block here,
>
> span_id: 1
> chan_id: 31
> physical_span_id: 1
> physical_chan_id: 31
> type: B
> state: DOWN
> last_state: DOWN
> cid_date:
> cid_name:
> cid_num:
> ani:
> aniII:
> dnis:
> rdnis:
> cause: NONE
>
> In this I am seeing that the state seems to be DOWN, but when I try  
> wantouer status, it show as connected like ,
>


in openzap, state down is like on-hook... we should change that name  
maybe.


> Wanrouter Status:
>
> Device name | Protocol | Station | Status        |
> wanpipe1    | AFT HDLC | N/A     | Connected     |
> wanpipe2    | AFT HDLC | N/A     | Connecting    |
>
> where I am using is Sangoma A102D card with hardware echo  
> cancellation.  And when I try to dial from the softphone in the  
> console I get this as,
>
> freeswitch at dialer.optimus.co.in> 2008-09-19 18:38:58 [NOTICE]  
> switch_channel.c:538 switch_channel_set_name() New Channel sofia/internal/1002 at 172.20.176.31 
>  [a75028c4-554a-473e-a8cc-8c52d7f72df4]
> 2008-09-19 18:38:58 [INFO] mod_dialplan_xml.c:232 dialplan_hunt()  
> Processing FreeSwitch->99841799874 in context default
> 2008-09-19 18:38:58 [NOTICE] switch_channel.c:538  
> switch_channel_set_name() New Channel OpenZAP/1:1/9841799874  
> [bd977e0d-e078-4193-a005-d751bdb26db8]
> 2008-09-19 18:39:28 [NOTICE] sofia.c:2705 sofia_handle_sip_i_state()  
> Hangup sofia/internal/1002 at 172.20.176.31 [CS_EXECUTE]  
> [ORIGINATOR_CANCEL]
> 2008-09-19 18:39:28 [NOTICE] switch_ivr_originate.c:1321  
> switch_ivr_originate() Hangup OpenZAP/1:1/9841799874  
> [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
> 2008-09-19 18:39:28 [INFO] mod_dptools.c:1814  
> audio_bridge_function() Originate Failed.  Cause: ORIGINATOR_CANCEL
> 2008-09-19 18:39:28 [NOTICE] switch_core_session.c:812  
> switch_core_session_thread() Session 1 (sofia/internal/1002 at 172.20.176.31 
> ) Ended
> 2008-09-19 18:39:28 [NOTICE] switch_core_session.c:814  
> switch_core_session_thread() Close Channel sofia/internal/1002 at 172.20.176.31 
>  [CS_HANGUP]
> 2008-09-19 18:39:28 [NOTICE] switch_core_session.c:812  
> switch_core_session_thread() Session 2 (OpenZAP/1:1/9841799874) Ended
> 2008-09-19 18:39:28 [NOTICE] switch_core_session.c:814  
> switch_core_session_thread() Close Channel OpenZAP/1:1/9841799874  
> [CS_HANGUP]
>
> So where i am wrong, can you please correct me.
>


It looks like the hang-up is coming from the sip side of things, can  
you take a look at the sip trace and confirm there is really a cancel  
on sip.

Mike

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


More information about the FreeSWITCH-users mailing list