[Asterisk-Dev] Remote-Party-ID patch
Niklas Ögren
list_ast at nod.se
Mon Jun 14 02:22:23 MST 2004
Hi!
I just submitted http://bugs.digium.com/bug_view_page.php?bug_id=0001841
to address a feature request of being able to set the correct A number
when calling from SIP, through Asterisk as a gateway to PSTN using ISDN.
It is taking the Remote-Party-ID header and if privacy is not set to
"full" or "uri" in that header, the number is taken and set as callerid
number instead of the number found in "from" header.
If there are sip routers that are the only ones that are allowed to send
sip requests to Asterisk, they can make sure that the remote-party-id
header is valid with their configs, and the header is valid to use in
asterisk.
I also changed chan_modem and chan_modem_i4l to take care of the callerid,
check with a "valid-list" in modem.conf, and set that number as outgoing
MSN.
Please review and merge if it is working as expected. (it works for me..
:) )
/Niklas
More information about the asterisk-dev
mailing list