[Asterisk-Users] Fwd: sip.conf and jump from register to the extension

Aaron Daniel amdtech at shsu.edu
Wed Apr 19 14:35:58 MST 2006


Well, not sure about that.  My register username is 44198w, I just took 
off the "w" for ease of demonstration, and it jumps into 200 fine.  It 
wouldn't make much sense for the username have to be alphanumeric, with at 
least one number.

Aaron

On Wed, 19 Apr 2006, Thomas Winter wrote:

>
> I have done additional tests, because the documentation sample was not 100 %
> identical to my register command.
>
> OK:
> register => 44198:password at provider.com/200
> This jumps to 200, s is also working
>
> NOT OK:
> user:password at provider.com/200
> It looks for extension user and is ignoring 200 or anythink else
>
> I think the non numeric username is the problem.
>
> Yes, I have done an restart of Asteriks after changing the sip.conf.
>
>
>
>
> Am Wednesday 19 April 2006 23:03 schrieb Aaron Daniel:
>> Have you tried sending it to a different extension number?  I've got the
>> registrations working on my home server where I register with one number
>> and have it drop in on a totally different number in the context.
>>
>> register => 44198:password at provider.com/200
>>
>> Aaron
>>
>> On Wed, 19 Apr 2006, Thomas Winter wrote:
>>> Hi,
>>>
>>> [general]
>>> context=Sip_in
>>> register => 1234:password at mysipprovider.com/s
>>>
>>> s is the same, it still looks for an extension 1234 in the context Sip_in
>>> and did not use /s
>>>
>>> Asterisk is 1.2.7
>>>
>>> Am Wednesday 19 April 2006 22:48 schrieb Aaron Daniel:
>>>> I'm not gonna say much for the documentation, but I would suggest if you
>>>> want to bypass that problem, add /s (or whatever extension) to the
>>>> register statement so you know for absolute sure that incoming calls on
>>>> the registration will go to the extension that you expect.
>>>>
>>>> Aaron
>>>>
>>>> On Wed, 19 Apr 2006, Thomas Winter wrote:
>>>>> Hi,
>>>>>
>>>>> the documentation of sip.conf is telling me this:
>>>>>
>>>>> ;register => 1234:password at mysipprovider.com
>>>>> ;
>>>>> ;     This will pass incoming calls to the 's' extension
>>>>>
>>>>>
>>>>> In reality it jumps to the extension 1234 in the context and not to s
>>>>> So it is much more complicate to write an proper dialplan.
>>>>>
>>>>> Is this an bug or is the documentation not up to date?
>>>>>
>>>>> best regards
>>>>>
>>>>> Thomas
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> Asterisk-Users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

-- 
Aaron Daniel
Computer Systems Technician
Sam Houston State University
amdtech at shsu.edu
(936) 294-4198



More information about the asterisk-users mailing list