On Wed, Mar 21, 2007 at 04:40:02PM +0200, Bogdan Gonciulea wrote:
> [globals]
> FWDNUMBER=yyyyyy
> FWDPASSWORD=pppppppp
> FWDCIDNAME="some name"
> 
> [default]
> exten => _393.,1,Set(CALLERID(all)=${FWDCIDNAME})
> exten => _393.,n,Dial(IAX2/${FWDNUMBER}:[EMAIL PROTECTED]/${EXTEN:3},60,r)
> exten => _393.,n,Congestion
> 
> I have also took out the Set(CALLERID...) line and the result was the same.

That doesn't look entirely right to me, maybe it should be:

Set(CALLERID(name)=${FWDCIDNAME})
Set(CALLERID(num)=${FWDNUMBER})

Set(CALLERID(all)= is for setting the entire caller ID header, so it
should look something like this if you use it:

Set(CALLERID(all)="Joe User" <1234>)

I think the things after DIAL(IAX2/..) should match what you have configured 
in iax.conf for iax peer:

iax.conf (from some example I found):

[FWDIAXPeer]
type=peer
disallow = all
allow=ulaw ; FWD only do ulaw
host=iax2.fwdnet.net
qualify=300 ; optional of course
secret=secret
context=from-fwd
username=321321

Then: Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:3},45)

_______________________________________________
--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