Michaƫl Gaudette
2006-Feb-13 12:26 UTC
[Asterisk-Users] RE: Asterisk-Users Digest, Vol 19, Issue 89
> Do you also have a SIP phone you are dialing from? > This is what I would have setup: > > sip.conf: > > > [sipphone] > Bla > Bla > Bla > context=local-phones > > [someprovider] > Bla > bla > bla > context=someprovider-in > > extensions.conf > > [local-phones] > exten => 5555555555,1,Noop(test) > > [someprovider-in] > exten => s,1,Dial(SIP/sipphone)That is what I have. Unfortunately, the context=someprovider-in is being ignored. I am running asterisk-1.2.4... The local-phone context is working properly though. I can't see why one is behaving as I expect and the other isn't. Mike
>> >>[someprovider-in] >>exten => s,1,Dial(SIP/sipphone) >> >> > >That is what I have. Unfortunately, the context=someprovider-in is being >ignored. I am running asterisk-1.2.4... > >The local-phone context is working properly though. I can't see why one is >behaving as I expect and the other isn't. > >Its because your incoming call from the provider is not being matched to [someprovider]. Do a sip debug with an incoming call and you will see the call being matched to the [general] section that probably points to the default context. -- Andres