Hello,

I am able to register with opensips or relay register to my asterisk
server. What I want is:

a) insert/delete the UL of opensips each time a
registration/deregistration takes place at the asterisk (Should work, if
 I use on reply route and insert information with exec or sql).
b) make/delete the registration manually with asterisk each the UA
registers with opensips.

a) could be working, but sound not like a stable solution

b) sounds easy, but isn't, since the register needs to be done with one
of the listening ports of the opensips. Therefore sipsak is not an
option. So the work have to be done from opensips which needs to work as
own UA and handle 401 etc.pp.

Did I miss a magic feature of opensips here?

BR

Uwe



Uwe Kastens schrieb:
> Hi Bogdan,
> 
>> So first registrions stays with OpenSIPsm while the next ones are 
>> forwarded to Asterisk, right?
> 
> Nearly. IF the user is registered with opensips, opensips should send a
> registration to asterisk (and keep at alive). If more registrations are
> done with the same user account, opensips could send an new registration
> or send a keepalive. If all registration with opensips are expired or
> deleted opensips should delete the registration with asterisk.
> 
>> For the one registered with Asterisk, should opensips stay in the middle 
>> (as mid-registrar) or  Asterisk will directly register the client contact?
>>
> opensips should stay in the middle. So there is no direct communication
> between User and asterisk
> 
> 
> BR
> 
> Uwe
> 
>> Regards,
>> Bogdan
>>
>> Uwe Kastens wrote:
>>> Hi Bogdan,
>>>
>>> Sorry, trying again:
>>>
>>> Users should register to opensips. If one successfull registration at
>>> opensips for one account is present, opensips should register with
>>> asterisk (plus would be, if the data could be different). Background is,
>>> that I would like to use the parallel forking with opensips, since my
>>> special asterisk config would allow only one simultanios registration
>>> per account.
>>>
>>> Br
>>>
>>> Uwe
>>>
>>> Bogdan-Andrei Iancu schrieb:
>>>   
>>>> Hi Uwe,
>>>>
>>>> Sorry to repeat, but still not clear for me :D...
>>>>
>>>> 1) you want to store all registration on OpenSIPS and Asterisk in the 
>>>> same time?
>>>>
>>>> 2) from x (= n + m ) received registation, n should be done on OpenSIPS 
>>>> and m forwarded on Asterisk ?
>>>>
>>>>
>>>> Regards,
>>>> Bogdan
>>>>
>>>> Uwe Kastens wrote:
>>>>     
>>>>> Hi Bogdan,
>>>>>
>>>>> If the Account make the 1st sucessfull registration it should be relayed
>>>>> to an asterisk. The 2nd, 3rd ... registration could be relayed. If all
>>>>> registrations have expired or a deleted the registration on the asterisk
>>>>> should be removed as well.
>>>>>
>>>>> Br
>>>>>
>>>>> uwe
>>>>>
>>>>>
>>>>> Bogdan-Andrei Iancu schrieb:
>>>>>   
>>>>>       
>>>>>> Hi Uwe,
>>>>>>
>>>>>> something like, if you already registered 4 times, the fifth one to be 
>>>>>> forwarded to Asterisk instead of local registering ?
>>>>>>
>>>>>> Regards,
>>>>>> Bogdan
>>>>>>
>>>>>> Uwe Kastens wrote:
>>>>>>     
>>>>>>         
>>>>>>> Hi list,
>>>>>>>
>>>>>>> I would like to implement the following. A user should be able to
>>>>>>> register n times with opensips. If one or more registers with a user
>>>>>>> account exists the opensips should register with that account to an
>>>>>>> asterisk.
>>>>>>>
>>>>>>> I thought a while about this, put there is no way to implement it with
>>>>>>> internal functions?
>>>>>>>
>>>>>>> BR
>>>>>>>
>>>>>>> Uwe
>>>>>>>
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users@lists.opensips.org
>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>>     
>>>>>>         
>>>>>   
>>>>>       
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users@lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>     
>>>   
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 


-- 

kiste lat: 54.322684, lon: 10.13586

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to