Hello @kellydk,
Assuming that extension 2008 is the GDS3710 and extension 2007 is the GXP2140, add this dialplan to your extensions_custom.conf
file. Please delete everything that you have in the from-internal-custom
context before applying my dialplan:
[from-internal-custom]
;Adding a Call-Info header to the channel when someone press the button on the GDS3710
;2008 - GDS3710
;2007 - GXP2140
;The Call-Info header would be added to the channel only If the GDS3710 will call to extension 2007
exten => 2007/2008,1,Log(NOTICE,GDS3710 is calling to extension ${EXTEN})
same => n,GoSub(func-set-sipheader,s,1(Call-Info,<http://the_ip_address_of_the_GDS3710>))
Change the dialplan according to your network If I confused the extension numbers, and add the GDS3710 ip address to the dialplan.
Do not forget to reload the dialplan after any change in the extensions_custom.conf
file like that:
dialplan reload
from the Asterisk console
or
rasterisk -x'dialplan reload'
from the Linux console.
Thank you,
Daniel Friedman
Trixton LTD.