Differentiating external did
I have two offices that each had their own single external did and have now combined locations so they want both dids registered on one server. However they want to discern from which did an inbound call originates on their Aastra desk phones. Anyway to accomplish this? Thanks! jlc
One way is to add a prefix to the incoming callerid name. Ex: DID1-DOE,JOHN --Victor 2012/2/19 Joseph L. Casale <jcasale@activenetwerx.com>:
I have two offices that each had their own single external did and have now combined locations so they want both dids registered on one server.
However they want to discern from which did an inbound call originates on their Aastra desk phones.
Anyway to accomplish this?
Thanks! jlc
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Joseph I do this with multiple DIDs on a FreeTDM ISDN trunk. In the public context dialplan I have an extension for each DID (and a catch all ^.*$ at the end because I like to install a known catch point in case the provider [BT in UK] goes mad): <extension name="public_abc"> <condition field="destination_number" expression="^987654$"> : : <action application="set" data="effective_caller_id_name=ABC:0${caller_id_number}"/> <action application="set" data="effective_caller_id_number=0${caller_id_number}"/> The provider drops the leading 0 from the caller ID, so I add that back in, and for the name prefix with ABC to represent the incoming DID. Also, my provider only sends the last 6 digits as the called number; your mileage may vary... John On 20/02/12 07:26, Victor wrote:
One way is to add a prefix to the incoming callerid name. Ex: DID1-DOE,JOHN
--Victor
2012/2/19 Joseph L. Casale<jcasale@activenetwerx.com>:
I have two offices that each had their own single external did and have now combined locations so they want both dids registered on one server.
However they want to discern from which did an inbound call originates on their Aastra desk phones.
Anyway to accomplish this?
Thanks! jlc
I do this with multiple DIDs on a FreeTDM ISDN trunk. In the public context dialplan I have an extension for each DID (and a catch all ^.*$ at the end because I like to install a known catch point in case the provider [BT in UK] goes mad):
Same here.
<extension name="public_abc"> <condition field="destination_number" expression="^987654$"> : : <action application="set">data="effective_caller_id_name=ABC:0${caller_id_number}"/>
Perfect, I was a little unclear as to which of the caller_id vars to use but I guessed right. I'll go ahead and copy the updated configs during business hours tomorrow. Thanks Victor and John, jlc
participants (3)
-
John
-
Joseph L. Casale
-
Victor