[asterisk-users] getting DID info..

Todd- Asterisk thouleasterisk at gleffsecurity.com
Fri Oct 20 09:16:45 MST 2006


This might be a newbie question...  I'm using a SIP trunk and trying  
to get DID line information on an incoming call.  All I hear is a  
nice lady saying 'Zero' - then the call continues...  Any suggestions?
  thanks
    Todd

exten => s,n,Set(DIDID=(<${FROM_DID}>))
exten => s,n,SayNumber(DIDID)

   or

exten => s,n,Set(FROM_DID=${EXTEN})
exten => s,n,SayNumber(FROM_DID)

   and a third try.. (I'm not sure what 's' is, but saw it somewhere..)

exten => s,n,Set(FROM_DID=s)
exten => s,n,Wait(1)



More information about the asterisk-users mailing list