[asterisk-users] SIP Diversion RDNIS - how to get reason parameter?
Benoit Panizzon
benoit.panizzon at imp.ch
Fri May 20 08:42:46 CDT 2011
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 at 157.161.10.190>;reason=no-
answer;privacy=off;counter=1
Asterisk Logs:
RDNIS for this call is is +41315995003 (reason no-answer;privacy=off;counter=1)
From what I see in the source of chan_sip the variable ${SIPDIVERSIONREASON}
should be set, but it is empty...
Also ${PRIDIVERSIONREASON} is empty...
I'm using: Asterisk 1.6.2.5-0ubuntu1.3
Any hints?
-Benoit-
More information about the asterisk-users
mailing list