Configuring Request URI With Outbound Proxyu

Home » Asterisk Users » Configuring Request URI With Outbound Proxyu
Asterisk Users No Comments

Hi Olle,

Redirecting the question to users mailing list. Could you point out how can I *dynamically* pass both the SIP peer and request-URI in the dial command. I want be able to use same SIP peer to route to different SIP end points. I’m currently doing this ‘Dial, SIP/peer/exten)’, but this results in Reqeust-URI looking like this sip:exten@ipaddress_of_peer, whereas I want to be able to somehow pass the SIP request URI to the Dial command, I tried passing it as part of Route header in the Dial command and use Kamailio to do loose_route(), but I suppose this isn’t the best solution.

Many thanks, Nitesh