openser config change

I currently have an Openser (Kamillio) sip server running. When I receive an inbound call I am changing the alias_username from 7402492013 to username 8004172603 . Basically I am redirecting calls and changing the DNIS to what ever I want. My problem is that in sip message the To sip stays at original DNIS. See example below where i change DNIS from 7402492013 to 8004172603 and send invite out to next server. As you can see the "to sip" setting is still showing 7402492013. I want a change made to my config file that will also change the "to sip" setting to 8004172603.

INVITE sip:8004172603@[url removed, login to view] SIP/2.0.

Record-Route: <sip:[url removed, login to view];lr=on>.

Via: SIP/2.0/UDP [url removed, login to view];branch=z9hG4bKe05a.7c19ecb7.0.

Via: SIP/2.0/UDP [url removed, login to view];branch=z9hG4bKcvp6uvpl1li97lql1bbl9l56j1.

Call-ID: 7000524563355404687-1254841409@

From: <sip:+18172944218@[url removed, login to view];user=phone>;tag=10744.

==>To: <sip:+17402492013@[url removed, login to view];user=phone>.

Content-Type: application/sdp.


Contact: <sip:+18132848215@[url removed, login to view];transport=udp>;user=phone.


Supported: timer,100rel.

Max-Forwards: 68.

Content-Length: 193.

Taidot: Asterisk PBX

Näytä lisää: openser config, openser refer config file, send invite, pbx server, openser, change username, call id, application transport, ack, message asterisk, udp application, sip info, asterisk send, inbound receive, asterisk running, send file udp, application running update, asterisk problem, inbound phone, call pbx, record calls asterisk, pbx sip, udp server application, call update contact info, record calls

Tietoa työnantajasta:
( 52 arvostelua ) fort worth, United States

Projektin tunnus: #522399

Myönnetty käyttäjälle:


Kindly check PMB

$400 USD 1 päivässä
(0 Arvostelua)

4 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi, Please check your PMB. Thanks

$600 USD 5 päivässä
(7 arvostelua)

I can do the task , regards

$550 USD 7 päivässä
(11 arvostelua)

I m intersted in this task , please check pmb Regards

$450 USD 3 päivässä
(2 arvostelua)