[OpenSIPS-Users] uac registrant module issue

Alexey Kazantsev kurgan-rus at inbox.ru
Tue Feb 19 06:26:39 EST 2019


Hi Jehanzaib,

I never used such scenarios, I just receive inbound calls
via registered connections.

I think you should form request-URI using $ru [1] variable
before sending your INVITE. 

But I'm almost absolutely sure that your VoIP provider
will check either From user or smth like that in your INVITEs,
so be ready to use functions like uac_replace_from [2] 
before calling t_relay.

In the simplest case 
it may be something like:

  ...
  $ru = "sip:xyz at 1.2.3.4"
  uac_replace_from("...","...");
  ...
  t_relay();



[1]  https://www.opensips.org/Documentation/Script-CoreVar-2-4#toc75
[2]  https://opensips.org/html/docs/modules/2.4.x/uac.html#func_uac_replace_from_2

-----------------------------------------------
BR, Alexey
http://alexeyka.zantsev.com/


More information about the Users mailing list