[Asterisk-Users] sip register incoming call contexts?

Olle E. Johansson oej at edvina.net
Mon Oct 10 10:14:38 MST 2005


Steve Gladden wrote:
> Sorry this is a bit of a newbie question, I've been at this for a few
> months and still have not quite figured this one out.
> 
> 
> I've been able to setup one itsp (incoming calls) (sip account) with a
> register line like this:
> 
> register => nnnnnnn:ppppp at sip.provider.net
> 
> -or-
> 
> register => nnnnnnn:ppppp at sip.provider.net/nnn
> to come directly into an extension in the dialplan
> 
> 
> It seems that this only works with the default context in the dialplan.
> 
> 
> I have another sip account from another provider that I would like
> all of it's incoming calls to come into the s, extension of
> a new context but I have been unable to figure out
> how to bring calls from a register line into an alternate context.

Create a peer with a host= setting that matches the IP of the service
provider's proxy. Set context for this peer. There are several examples
out there, one is http://edvina.net/broadvoice/

/Olle



More information about the asterisk-users mailing list