[Freeswitch-users] voice announcement with Reason sip header

Adam Kuśmirek amkusmirek at gmail.com
Mon Dec 3 16:10:17 MSK 2012


Hi All

I have Freeswitch connected to SIP Trunk from local Service Provider.
Service Provider has NGN platform based on Broadworks applications.
When making failed outbound connections I never get SIP responses with
hangup cause, but they play 20 sec. voice announcement (eg. unallocated
number ...) and send 487 Request Terminated containing Reason header after
that.

---> INVITE
<--- 100 Trying
<---  183 Session Progress
<---  183 Session Progress with header Reason: Q.850;cause=?
<---  20 sec. voice announcement
<---  487 Request Terminated with header Reason: Q.850;cause=?
---> ACK

I'd like to hangup the call after 183 Session Progress
containing header Reason: Q.850;cause=?.

First i tried execute_on_media and execute_on_pre_answer, but the scripts
are triggered only for the first 183 Session Progress that does not contain
Reason header.

Then I tried  to resolve the problem by connecting to Outbound Socket, but
I can see only one CHANNEL_PROGRESS_MEDIA event  for the first 183 Session
Progress.

Can anyone help ?

Regards Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121203/36ab05e8/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list