A combination of (see below) should be enough... remove_hf("To"); append_hf("To: <sip:[EMAIL PROTECTED]:5060;user=phone>. \r\n", "From");
Marc LEURENT a écrit : > Hello everybody, I have booked fights, hotel and tickets for the Rome VON > meeting!! I hope most of you will be there! > > I have a little problem... > My OpenSER server has the IP 88.191.45.91 > My SIP/PSTN gateway has the IP 212.129.6.65 > I do not require authentication to send INVITE from my openser IP. > How is it possible to change the > To: <sip:[EMAIL PROTECTED]:5060;user=phone>. > to > To: <sip:[EMAIL PROTECTED]:5060;user=phone>. ?? > > Thanks!! > See you soon in Rome > > # > U 88.191.45.91:5060 -> 212.129.6.65:5060 > INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0. > Record-Route: <sip:88.191.45.91;lr=on;ftag=c0a80101-1ca265a>. > Via: SIP/2.0/UDP 88.191.45.91;branch=z9hG4bKd06b.6af66bc6.0. > Via: SIP/2.0/UDP > 192.168.95.81:5060;rport=62704;received=81.57.0.22;branch=z9hG4bK4296575315214209209. > From: "Marc LEURENT"<sip:[EMAIL > PROTECTED]:5060;user=phone>;tag=c0a80101-1ca265a. > To: <sip:[EMAIL PROTECTED]:5060;user=phone>. > Call-ID: [EMAIL PROTECTED] > CSeq: 1 INVITE. > Max-Forwards: 50. > Supported: timer, replaces. > Session-Expires: 1800. > Allow: > INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO. > Contact: <sip:[EMAIL PROTECTED]:62704;user=phone;nat=yes>. > User-Agent: THOMSON ST2030 hw0 fw1.56 00-0E-50-4E-AF-C4. > Allow-Events: refer,dialog,message-summary,check-sync,talk,hold. > Content-Type: application/sdp. > Content-Length: 295. > . > v=0. > o=mleurent 30025307 30025307 IN IP4 192.168.95.81. > s=-. > c=IN IP4 88.191.45.91. > t=0 0. > m=audio 35154 RTP/AVP 8 0 18 4 97. > a=rtpmap:8 PCMA/8000. > a=rtpmap:0 PCMU/8000. > a=rtpmap:18 G729/8000. > a=rtpmap:4 G723/8000. > a=rtpmap:97 telephone-event/8000. > a=fmtp:97 0-15. > a=sendrecv. > a=nortpproxy:yes. > > > > _______________________________________________ > Users mailing list > Users@openser.org > http://openser.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users