Hi,

my VoIP provider routes my main phone number and all extensions to the same sip account.
In the sip header of the invite message is the To: field that shows me which extension the caller dialed ...


for extension 0:
INVITE sip:[EMAIL PROTECTED] SIP/2.0
[...]
To: sip:[EMAIL PROTECTED]

for extension 10:
To: sip:[EMAIL PROTECTED]

How can I use this extension information in my dialplan?
I have tried ${RDNIS} (http://lists.digium.com/pipermail/asterisk-users/2004-March/ 041264.html) but this doesn�t work (RDNIS is empty).


I use CVS-HEAD-05/22/04


TIA, Mike

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to