[Users] ";user=phone"

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jul 17 21:10:52 CEST 2006


Hi Mark,

more nicer than is to use the add_uri_param() from uri module
    http://openser.org/docs/modules/1.1.x/uri.html#AEN118

regards,
bogdan

Mark Kent wrote:

>An upstream PSTN-gateway provider wants 
>SIP Request-URIs in this format:
>
>  INVITE sip:16509411212 at x.y.z.w;user=phone SIP/2.0
>
>To achieve this, I did:
>
>  rewritehostport("x.y.z.w;user=phone");
>  t_relay();
>
>which works, but makes me uneasy as the stuff after the ";"
>isn't really the host or the port.  What is the official way
>to put "user=phone" on the end?
>
>Thanks,
>-mark
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>  
>





More information about the sr-users mailing list