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 <[email protected]
> 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@opensipsip, this works great
> but I cant do sip/123456789@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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to