I'm having problems with my To field.

I'm doing an async_route, and afterwards sends the call with auth to a SIP server.

My problem is that in the first invite I see the expected To field
sip:[email protected]

But when the Auto is send the To field is changed to the, To field for the PBX
sip:[email protected]


I tried to fix this with uac_replace_to("$ru"), but that ends up in this To field:
sip:[email protected]:[email protected]

It seems like uac_replace_to sometimes appends rather that replaces.
If I run it twice, then it for sure appends. Is this expected behaviour.



--
-------------------- Med Liberalistiske Hilsner ----------------------
   Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
   Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
   Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to