Todd- Asterisk wrote:
Thanks for the help Jerry - I'm getting closer, but still no luck...

Now, I hear the lady say "S". I think what is happening is that the GoTo command is setting the extension to 's' when it transfers control to the context defined in the IAX.conf -where I have the trunk line defined...

exten => h,1,Hangup
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n,SayAlpha(${EXTEN})

It is my impression that the EXTEN variable is used as the internal extension - not the incoming DID number, but you seem pretty confident so I must be wrong. What I"m looking to do is a FOP pop-up with the DID number and caller ID number in it... I'll tie that into a web-based database...

There is no difference between an extension and a DID as far as Asterisk is concerned. You must have typoed the above example as you do not have an exten => s,1

When you do a exten => s,n,SayAlpha(${EXTEN}) the extension IS "s". If it was not "s" then it would never have gotten to that extension.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to