[Freeswitch-users] Channel variables for npdi and rn on LRN dipped calls.
Victor Chukalovskiy
victor.chukalovskiy at gmail.com
Fri Jan 4 20:38:47 MSK 2013
Hello and Happy New year!
A SIP call comes in that was previously dipped. I'd like to be able to
have "rn" and "npdi" available as channel variables that I can use in
regex expressions. Is there a way to configure FreeSWITCH to put "rn"
and "npdi" into separate channel variable?
So far, info application shows me the following channel variables that
contain LRN:
Caller-Destination-Number: [5551234567;npdi=yes;rn=5555550001]
variable_sip_req_user: [5551234567;npdi=yes;rn=5555550001]
variable_sip_req_uri: [5551234567;npdi=yes;rn=5555550001 at 1.2.3.4:5060]
I can probably dissect those and put "rn" and "npdi" into separate
variables. But this means extra steps in dial-plan. In case there is a
built-in way to accomplish the same task, it would be great!
Could you please let me know.
Thank you,
Victor
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list