Setting callerid quick tranfer to customer phone number
Posted: Sun Mar 04, 2012 5:23 am
How can I set the callerid of a quick tranfer call to the telephone number of the current lead/customer?
I can set the callerid to CUSTOMER in the 3way transfer option for the [transfer conf] button. I can not set that for the [quick transfer] button.
By setting the value of the PREFIX number to a custom extension I can set the callerid in the dialplan. How can I retrieve the customer phone number in Asterisk dialplan? I need to know the variable that holds the customer's phonenumber so i can set de caller id.
Due to DTMF issues with quick transfer to external IVR, I allready have a custom dialplan in place. I would like to set the callerid in this custom fragment
I set the PRESET number to a custom destination in Asterisk dialplan, for example 487 (IVR) and then in the extensions.conf in the [default] context I add:
Thanks,
Geert
I can set the callerid to CUSTOMER in the 3way transfer option for the [transfer conf] button. I can not set that for the [quick transfer] button.
By setting the value of the PREFIX number to a custom extension I can set the callerid in the dialplan. How can I retrieve the customer phone number in Asterisk dialplan? I need to know the variable that holds the customer's phonenumber so i can set de caller id.
Due to DTMF issues with quick transfer to external IVR, I allready have a custom dialplan in place. I would like to set the callerid in this custom fragment
I set the PRESET number to a custom destination in Asterisk dialplan, for example 487 (IVR) and then in the extensions.conf in the [default] context I add:
- Code: Select all
exten => 487,1,SET(CALLERID(num)=${ViciDialCustomerPhoneVar})
exten => 487,2,DIAL(SIP/31123456789@sip.provider.nl,,Tor)
exten => 487,3,Hangup
Thanks,
Geert