***nevermind...FollowMe Help

***Nevermind… I got it.

Hello All,

I’m trying to get followme to work and having issues… here’s my setup

I’m running Asterisk straight up (not Trix or any other flavor)
I have an IP Phone line through Teliax.
I have an FXS box to connect my handhelds to the asterisk box

I do NOT have a land line.

Teliax confirmed that I have 2 channels, and thus I can do any one of the following:

  1. 2 incoming calls at once
  2. 2 outgoing calls at once
  3. 1 incoming and 1 outgoing at once

So I’ve got incoming calls and outgoing calls working perfectly.

in my iax.conf file, I have only defined one context:


(I have a context for the FXS box, but that’s not relevant to my problem)

On my followme code,

exten => s,1,Background(hang-on-a-second)
exten => s,n,Set(NewCaller=${CALLERID(number)})
exten => s,n,Set(CALLERID(number)=(0${CALLERID(number)}))
exten => s,n,Dial(${TRUNK}/${MYCELL},20,r)
exten => s,n,Set(CALLERID(number)=${NewCaller})
exten => s,n,Wait(20)
exten => s,n,Hangup

Where TRUNK=IAX2/@teliax

SO I make an incoming call, the box picks up and gets to this code above, but then cannot make the outgoing call to my cellphone. I am getting the following error:

WARNING[4705]: chan_iax2.c:6951 socket_process: Call rejected by No such context/extension

I’m fairly new to all this, so any help would be extremely appreciated.

Do I have to set up 2 contexts in IAX.CONF? or is there some way to specify separate channels (i.e. 1 for incoming, and 1 for outgoing) ??