[OpenSIPS-Users] VB: Transfering a call by opensips

Muhammad Shahzad shaheryarkh at googlemail.com
Thu Oct 18 11:58:52 CEST 2012


Thanks. I will look at it.

Thank you

On Oct 18, 2012 11:54 AM, "Binan AL Halabi" <binanalhalabi at yahoo.com> wrote:
>
>
> Hallo,
>
> See implementing call forwarding in opensips1.6 book.
>
> // Binan
> ________________________________
> Från: Muhammad Shahzad <shaheryarkh at googlemail.com>
> Till: Binan AL Halabi <binanalhalabi at yahoo.com>; OpenSIPS users mailling
list <users at lists.opensips.org>
> Skickat: torsdag, 18 oktober 2012 11:30
> Ämne: Re: [OpenSIPS-Users] Transfering a call by opensips
>
> Binan, avp db is usually used for temporary data storage e.g. To share
some value between two call session etc. So while avp db can be used for
this but then you need to make sure you never call avp db clear in your
script.
> Secondly you can use drouting to route any call, not just calls to gw.
You need to create rule that call should not be routed to user B during 11h
to 14h. So drouting lookup will fail. Then you check in alias db which will
tell you user c is alias to user b and you can then route call to user c.
This way you can create N x N drouting to alias rules.
> Thank you.
> On Oct 18, 2012 10:34 AM, "Binan AL Halabi" <binanalhalabi at yahoo.com>
wrote:
> >
>>
>> Hi,
>> Add them as Attribute and Value(opensipsctl avp add ....... ): Add them
as two separate AVP.
>> Then load them in your script as AVP (avp_db_load function).
>>
>> // Binan
>>
>> ________________________________
>> Från: Engineer voip <forvoip4 at gmail.com>
>> Till: Binan AL Halabi <binanalhalabi at yahoo.com>; OpenSIPS users mailling
list <users at lists.opensips.org>
>> Skickat: torsdag, 18 oktober 2012 10:21
>> Ämne: Re: [OpenSIPS-Users] Transfering a call by opensips
>>
>> Hi,
>>
>> I don't have the fields in user_preferences  table or i add them ?
>>
>> 2012/10/18 Binan AL Halabi <binanalhalabi at yahoo.com>
>>>
>>> Hi,
>>>
>>> Store in usr_preferences table the time_from and time_to
>>> then read them in your script using avpops module
>>> Take the hour of the call and compare it to the range you got it from
database.
>>>
>>> http://www.opensips.org/html/docs/modules/1.7.x/avpops.html
>>>
>>> // Binan
>>>
>>> ________________________________
>>> Från: Engineer Voip <forvoip4 at gmail.com>
>>> Till: users at lists.opensips.org
>>> Skickat: torsdag, 18 oktober 2012 8:53
>>> Ämne: [OpenSIPS-Users] Transfering a call by opensips
>>>
>>> Hello all,
>>> I want to transfert the call to user C when user A calls user B in
interval of time for example: 11h-14h
>>> I can do that by asterisk but i prefer to do it by opensips
>>> It's possible to do that by opensips?
>>>
>>> Cordialement.
>>> Envoyé de mon iPhone
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>>
>> Best Regards.
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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/20121018/910d92dc/attachment-0001.htm>


More information about the Users mailing list