[Asterisk-Users] sip register incoming call contexts?

Steve Gladden Asterisk at MichiganBroadband.com
Thu Oct 13 07:43:43 MST 2005


I did try this and did get it to register as this peer.
However inbound calls to that number are still coming into
the context defined in [general] sip.conf

I now have two numbers configured, the new peer as you sugested
and my original that just has the register line
without an associated peer section.

BOTH numbers are still coming into the context defined in [general]

THis is fine for the number of which I did not create a peer section for.


The other number that I did indeed create a peer section for
is not coming into the context that I set within the peer context=

I of course am doing a full stop of asterisk and restart/reload
for each test.

Am I still doing something wrong here?

Thanks!

Steve











>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
















> 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
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list