[OpenSIPS-Users] Sending call to extension to user

Schneur Rosenberg rosenberg11219 at gmail.com
Thu Aug 9 20:03:33 CEST 2012


I use the lookup function all the time to send to the ip phones, I
guess I will do a lookup first like usual and then I will search for
the custom header that asterisk will add, and if found I will further
manipulate the R-URI and the TO header,

thank you

On Thu, Aug 9, 2012 at 8:06 PM, Ali Pey <alipey at gmail.com> wrote:
> Hi Schneur,
>
> Yes, there is a very easy way. Check out the lookup function is the
> Registrar module:
>
> http://www.opensips.org/html/docs/modules/1.8.x/registrar.html#id292636
>
> Regards,
> Ali Pey
>
> On Thu, Aug 9, 2012 at 12:45 PM, Schneur Rosenberg
> <rosenberg11219 at gmail.com> wrote:
>>
>> I would like to send calls to a user that is registered to opensips,
>> the user is a PBX and I would like to send a extension like its coming
>> from a pri, basically its sending a URI to a registered peer, I cant
>> send a URI, because the ip address is not static, in asterisk i would
>> do dial(sip/pbxpeername/123456789) where pbxpeername is the asterisk
>> peer name for that client, and 123456789 is the extension I would like
>> to send the call to,  how would I do it in opensips? is there any
>> simple way, or do I have to manually find the registered ip address
>> and send the invite to there.
>>
>> The calls are being routed through asterisk, so when sending a call to
>> a regular ip phone I send it as sip/phone at opensipsip, this works great
>> but I cant do sip/123456789 at phone@opensipsIP, so I will send a new
>> header with the extension and have opensips pull the header and
>> rewrite the to header, is there a simpler solution?
>>
>> _______________________________________________
>> 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
>



More information about the Users mailing list