Re: [asterisk-users] context problem

2011-01-20 Thread Jose P. Espinal
Jonas Kellens wrote: [snip] register = 119909:pas...@sip.prov.org/52525252 register = 119909:pas...@sip.prov.org/59595959 [TRUNKin] exten = _52525252,1,NoOp(context TRUNKin - 52525252) exten = _52525252,n,GoTo(blabla,52525252,1) exten = _59595959,1,NoOp(context TRUNKin - 59595959) exten =

Re: [asterisk-users] context problem

2011-01-20 Thread Jonas Kellens
On 01/20/2011 04:43 PM, Jose P. Espinal wrote: Jonas Kellens wrote: [snip] register = 119909:pas...@sip.prov.org/52525252 register = 119909:pas...@sip.prov.org/59595959 [TRUNKin] exten = _52525252,1,NoOp(context TRUNKin - 52525252) exten = _52525252,n,GoTo(blabla,52525252,1) exten =

Re: [asterisk-users] context problem

2011-01-20 Thread Jonas Kellens
*To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* [asterisk-users] context problem Hello list, Asterisk 1.6.16.1 I have the following registrations : register = 119909:pas...@sip.prov.org/52525252 mailto:119909:pas...@sip.prov.org/52525252 register = 119909:pas

Re: [asterisk-users] context problem

2011-01-20 Thread Jeroen Eeuwes
Hi Jonas, What else can I try ? Yeah, Asterisk always assumes that from 1 ip address there can only be inbound number. Not very user-friendly. I think I've used something like this: exten = s,1,Set(CALL-TO=${SIP_HEADER(TO)}) exten = s,n,Set(CALL-FROM=${CALLERIDNUM}) exten =

Re: [asterisk-users] context problem

2011-01-20 Thread Danny Nicholas
_ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Thursday, January 20, 2011 9:59 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] context problem On 01/20/2011

Re: [asterisk-users] context problem

2011-01-20 Thread Jonas Kellens
On 01/20/2011 05:23 PM, Jeroen Eeuwes wrote: Hi Jonas, What else can I try ? Yeah, Asterisk always assumes that from 1 ip address there can only be inbound number. Not very user-friendly. I think I've used something like this: exten = s,1,Set(CALL-TO=${SIP_HEADER(TO)}) exten =

Re: [asterisk-users] context problem

2011-01-20 Thread Andrew Thomas
...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: 20 January 2011 16:39 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] context problem On 01/20/2011 05:23 PM, Jeroen Eeuwes wrote: Hi Jonas, What else can I

Re: [asterisk-users] context problem

2011-01-20 Thread Tom Rymes
On 01/20/2011 10:58 AM, Jonas Kellens wrote: [snip] I have the following registrations : register = 119909:pas...@sip.prov.org/52525252 mailto:119909:pas...@sip.prov.org/52525252 register = 119909:pas...@sip.prov.org/59595959 mailto:119909:pas...@sip.prov.org/59595959 [snip] Problem :

Re: [asterisk-users] context problem

2011-01-20 Thread Dave Platt
I may be wrong here, but I think you can only register once. The last registration received will overwrite the first one. You will need to specify a second entry and register that one separately. This is the same reason you cannot register two devices to the same extension. Yes, that's