I don't think you will reliably receive a 181 in every case that a call goes to voicemail. On Thu, Aug 27, 2015 at 5:20 AM, Marcin S <ms4esl@gmail.com> wrote:
Hi,
I have a dialer app that uses ESL and freeswitch. I would like to detect when voice mail answers call. For such calls there is a "181 Cal Is Being Forwarded" message in SIP signalization. However, in ESL there is no event fired (maybe beacuse there was 183 and 180 earlier).
How can I detect, that there was 181 received?
Here is an example sip trace:
1 0.000000 192.168.88.237 -> 89.108.20.42 SIP/SDP Request: INVITE sip:123456789@89.108.20.42, with session description 2 0.018028 89.108.20.42 -> 192.168.88.237 SIP Status: 100 Trying 3 0.418550 89.108.20.42 -> 192.168.88.237 SIP/SDP Status: 183 Session Progress, with session description 4 1.405465 89.108.20.42 -> 192.168.88.237 SIP Status: 180 Ringing 5 29.270672 89.108.20.42 -> 192.168.88.237 SIP Status: 181 Call Is Being Forwarded 6 29.659371 89.108.20.42 -> 192.168.88.237 SIP/SDP Status: 200 OK, with session description 7 29.670833 192.168.88.237 -> 89.108.20.42 SIP Request: ACK sip:3c6d5343fb70df3a18f4dd32e7c9d226@89.108.20.42:5060;transport=udp 8 70.590778 192.168.88.237 -> 89.108.20.42 SIP Request: BYE sip:3c6d5343fb70df3a18f4dd32e7c9d226@89.108.20.42:5060;transport=udp 9 70.625224 89.108.20.42 -> 192.168.88.237 SIP Status: 200 OK
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest