I think HANGUPCAUSE is channel agnostic.
See: core show function HANGUPCAUSE
Some thing like this IIRC:
Set(my_cause=${HANGUPCAUSE(${CHANNEL(name)},tech)})
Remember the incoming leg of the call and the outgoing leg of the call
are different channels. Make sure you are giving HANGUPCAUSE the
correct channel.
On 06/09/2018 02:01 PM, Khalil Khamlichi wrote:
It seems very weird to me that we cannot access sip code of a call
from pjsip which information is actually returned from the provider,
so it is available to asterisk, why does asterisk hide it ?
On Sat, Jun 9, 2018 at 5:08 PM Khalil Khamlichi
<khamlichi.kha...@gmail.com> wrote:
Hi,
Is there any way I can get exact sip status from pjsip after a dial ?
or all we can
get is asterisk hangup causes ?
Thanks in advance.
KKh
--
http://help.nyigc.net/
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users