[OpenSIPS-Users] several SIP phones with same SIP account

David david at styleflare.com
Thu Feb 9 17:59:08 CET 2012


If the default behavior is to do parallel forking how would you 
implement serial forking?

Is it a module parameter of the register module?

Thanks.



On 2/9/12 8:12 AM, Vlad Paiu wrote:
> Hi,
>
> OpenSIPS does parallel forking by default. When calling the lookup [1] 
> function from the registrar module, all the existing contacts for an 
> AOR will be loaded as branches, and the INVITE will be forwarded to 
> all contacts in parallel.
>
> [1] 
> http://www.opensips.org/html/docs/modules/devel/registrar.html#id292937
>
> Regards,
> Vlad Paiu
> OpenSIPS Developer
> http://www.opensips-solutions.com  
>
> On 02/09/2012 02:50 PM, Jorge Ortea wrote:
>>
>> Hi,
>>
>> thanks for response Vlad.
>>
>> One question, how can i do parallel forking?
>>
>> This is my idea,
>> I suppose that i would have 2 records in location table with the same 
>> username, when arrive a INVITE i check if i have more that one 
>> record, then i build the $du with contact information y the 
>> append_branch corresponding ??  is this correct?
>>
>> Thanks.
>> Regards.
>>
>>
>> ------------------------------------------------------------------------
>> Date: Wed, 8 Feb 2012 13:08:25 +0200
>> From: vladpaiu at opensips.org
>> To: users at lists.opensips.org
>> Subject: Re: [OpenSIPS-Users] several SIP phones with same SIP account
>>
>> Hello,
>>
>> Of course you can have several sip phones configured with the same 
>> SIP account.
>> Just configure the same account on the phones you want, and then when 
>> a call comes in for that specific account, you can configure OpenSIPS 
>> to either do parallel forking ( ring all the phones at the same time, 
>> which-ever answers first will get the call ) , or do serial forking ( 
>> try each phone one at a time until you either get a success or a 
>> failure on all phones ).
>>
>> Regards,
>> Vlad Paiu
>> OpenSIPS Developer
>> http://www.opensips-solutions.com  
>>
>> On 02/08/2012 10:32 AM, Jorge Ortea wrote:
>>
>>     Hi,
>>
>>     is possible to have several sip phones configurated with the same
>>     SIP account ?
>>
>>     If i want to have a SIP account configurated in two phones, for
>>     ex. my SIP phone in the office and my smartphone, I need two
>>     accounts SIP perforce and configure my PBX to manage multiDial to
>>     both accounts or exist way to configure the same SIP account in
>>     both ???
>>
>>     Thanks.
>>     Regards.
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> _______________________________________________ Users mailing list 
>> Users at lists.opensips.org 
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120209/c030d4f2/attachment-0001.htm>


More information about the Users mailing list