Hi out there
To play the correct announcement in app_voicemail I whould be able to read the
SIP Diversion Reason which ist sent by another PBX:
Invite contains:
Diversion: sip:+41315995003@157.161.10.190;reason=no-
answer;privacy=off;counter=1
Asterisk Logs:
RDNIS for this call is is
2011/5/20 Benoit Panizzon benoit.paniz...@imp.ch
Hi out there
To play the correct announcement in app_voicemail I whould be able to read
the
SIP Diversion Reason which ist sent by another PBX:
Are those PBXs directly connected to each other through a SIP trunk ?
--
Hi Olivier
Are those PBXs directly connected to each other through a SIP trunk ?
Yes, and the reason is definitely transmitted in the SIP header and also
parsed by asterisk and displayed in debug output.
After reading a bit more in chan_sip.c (I'm not a coder) I fear the result is
just put
On 11-05-20 10:39 AM, Benoit Panizzon wrote:
After reading a bit more in chan_sip.c (I'm not a coder) I fear the result is
just put in a temporary variable __SIPDIVERSIONREASON but not in a variable
useable in the dialplan.
You could double check by using DumpChan() to see what channel