Dear Friends, I'm using ftmod_sangom_isdn in my setup and I would want to know the TON(Type of Numbering) presented for each call. Is it possible to know the TON through channel variable in freeswitch?! Based on the Type Of Numbering of a call, I would want to modify the caller_id to a standard format and store in my database. It's always pleasure working with FS. Thanks. -- Nagalenoj H.
Try the variable sip_h_X-FreeTDM-ANI-TON Or just run the "info" app on the incoming call to show all variables. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Nagalenoj H. Skickat: den 31 mars 2011 15:03 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] Knowing TON of each call Dear Friends, I'm using ftmod_sangom_isdn in my setup and I would want to know the TON(Type of Numbering) presented for each call. Is it possible to know the TON through channel variable in freeswitch?! Based on the Type Of Numbering of a call, I would want to modify the caller_id to a standard format and store in my database. It's always pleasure working with FS. Thanks. -- Nagalenoj H. !DSPAM:4d947c2432764944577751!
Hi Nagalenoj, You can obtain the TON on incoming calls via the following channel variables: caller_ton: TON from the Calling Party Number destination_number_ton: TON from the Called Party Number Regards, David *David Yat Sin, BEng* */Senior Software Engineer/* Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 x119 t. +1 905 474 1990 x119 f. +1 905 474 9223 Description: SANGOMA <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> Products <http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions <http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events <http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki <http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook <http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter <http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> On 3/31/2011 9:03 AM, Nagalenoj H. wrote:
Dear Friends, I'm using ftmod_sangom_isdn in my setup and I would want to know the TON(Type of Numbering) presented for each call. Is it possible to know the TON through channel variable in freeswitch?!
Based on the Type Of Numbering of a call, I would want to modify the caller_id to a standard format and store in my database.
It's always pleasure working with FS. Thanks. -- Nagalenoj H.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
David Yat Sin
-
Nagalenoj H.
-
Peter Olsson