<div dir="ltr">Ok, so what I am trying is this<br><br><br>I am placing the uac statement in the FreeSWITCH routing as I only care to set the Caller ID for outbound calling<br><br>_________________________________________________________________________________________________________<br>
<br><br>route[FSDISPATCH] {<br>    if(!is_method("INVITE"))<br>        return;<br>    if(route(FSINBOUND))<br>        return;<br><br>     # dial number selection<br>    switch($rU) {<br>        case /"^18[0-9]{9}$":<br>
            strip(0);<br>        break;<br>        case /"^911$":<br>            strip(0);<br>        break;<br>        case /"^41$":<br>            # 41 - voicebox menu<br>            # allow only authenticated users<br>
            if($au==$null)<br>            {<br>                sl_send_reply("403", "Not allowed");<br>                exit;<br>            }<br>            $rU = "vm-" + $au;<br>        break;<br>
        case /"^441[0-9][0-9]$":<br>            # starting with 44 followed by 1XY - direct call to voice box<br>            strip(2);<br>            route(FSVBOX);<br>        break;<br>        case /"^433[01][0-9][0-9]$":<br>
            # starting with 433 followed by (0|1)XY - conference<br>            strip(2);<br>        break;<br>        case /"^45[0-9]+$":<br>            strip(2);<br>        break;<br>        case /"^7[0-9]{5}$":<br>
            avp_db_load("$from","$avp(s:callerid-name)");<br>            avp_db_load("$from","$avp(s:callerid-did)");<br>            uac_replace_from("$avp(s:callerid-name)","$avp(s:callerid-did)");<br>
            xlog("SIP From Header returned $hdr(From)\n");<br>            xlog("AVP CallerID-Name returned $avp(s:callerid-name)\n");<br>            xlog("AVP CallerID-Ext returned $avp(s:callerid-did)\n");<br>
            xlog("P-Asserted Identity returned $ai\n");<br>            strip(0);<br>        break;<br>        case /"^1[0-9]{10}$":<br>            avp_db_load("$from","$avp(s:callerid-name)");<br>
            avp_db_load("$from","$avp(s:callerid-did)");<br>            uac_replace_from("$avp(s:callerid-name)","$avp(s:callerid-did)");<br>            xlog("SIP From Header returned $hdr(From)\n");<br>
            xlog("AVP CallerID-Name returned $avp(s:callerid-name)\n");<br>            xlog("AVP CallerID-Ext returned $avp(s:callerid-did)\n");<br>            xlog("P-Asserted Identity returned $ai\n");<br>
            strip(0);<br>        break;<br><br>_________________________________________________________________________________________________________<br><br>Here is the Syslog<br><br>_________________________________________________________________________________________________________<br>
<br><br>Apr 10 09:19:04 siprouter-testbed kamailio[20069]: NOTICE: <core> [main.c:730]: handle_sigs(): Thank you for flying kamailio!!!<br>Apr 10 09:19:04 siprouter-testbed kamailio[20096]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20094]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20095]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20084]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20093]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20083]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20085]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20081]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20082]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20078]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20080]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20079]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20075]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20072]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20076]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20073]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:04 siprouter-testbed kamailio[20074]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>
Apr 10 09:19:04 siprouter-testbed kamailio[20077]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received<br>Apr 10 09:19:06 siprouter-testbed kamailio: WARNING: <core> [socket_info.c:1397]: fix_hostname(): WARNING: fix_hostname: could not rev. resolve 10.111.200.100<br>
Apr 10 09:19:06 siprouter-testbed kamailio: WARNING: <core> [socket_info.c:1397]: fix_hostname(): WARNING: fix_hostname: could not rev. resolve 10.111.200.100<br>Apr 10 09:19:06 siprouter-testbed kamailio: INFO: <core> [tcp_main.c:4836]: init_tcp(): init_tcp: using epoll_lt as the io watch method (auto detected)<br>
Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob<br>Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: rr [rr_mod.c:159]: mod_init(): outbound module not available<br>
Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 512<br>Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled<br>
Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: <core> [udp_server.c:176]: probe_max_receive_buffer(): INFO: udp_init: SO_RCVBUF is initially 229376<br>Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: <core> [udp_server.c:227]: probe_max_receive_buffer(): INFO: udp_init: SO_RCVBUF is finally 262142<br>
Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: <core> [udp_server.c:176]: probe_max_receive_buffer(): INFO: udp_init: SO_RCVBUF is initially 229376<br>Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: <core> [udp_server.c:227]: probe_max_receive_buffer(): INFO: udp_init: SO_RCVBUF is finally 262142<br>
Apr 10 09:19:06 siprouter-testbed kamailio[20176]: INFO: ctl [io_listener.c:225]: io_listen_loop(): io_listen_loop:  using epoll_lt io watch method (config)<br>Apr 10 09:19:06 siprouter-testbed kamailio[20179]: INFO: mi_datagram [mi_datagram.c:329]: datagram_process(): a new child 0/20179<br>
Apr 10 09:19:14 siprouter-testbed kamailio[20171]: NOTICE: acc [acc.c:315]: acc_log_request(): ACC: call missed: timestamp=1397135954;method=INVITE;from_tag=ea9DttB1yp3pH;to_tag=81E97042-5D3D0C17;call_id=8ca5f827-3b55-1232-bca0-32ab07e7dc91;code=603;reason=Decline;src_user=57331;src_domain=10.111.200.100;src_ip=10.111.200.100;dst_ouser=57333;dst_user=57333;dst_domain=10.111.200.113<br>
Apr 10 09:19:14 siprouter-testbed kamailio[20172]: NOTICE: acc [acc.c:315]: acc_log_request(): ACC: transaction answered: timestamp=1397135954;method=INVITE;from_tag=EEC15EFE-7888DEFB;to_tag=D1FNrZtX1DD4N;call_id=<a href="mailto:fc73d94a-b08195b7-ed0f7f08@10.111.200.114">fc73d94a-b08195b7-ed0f7f08@10.111.200.114</a>;code=200;reason=OK;src_user=57331;src_domain=10.111.200.100;src_ip=10.111.200.114;dst_ouser=57333;dst_user=kb-57333;dst_domain=10.111.200.100<br>
Apr 10 09:19:17 siprouter-testbed kamailio[20170]: NOTICE: acc [acc.c:315]: acc_log_request(): ACC: transaction answered: timestamp=1397135957;method=BYE;from_tag=EEC15EFE-7888DEFB;to_tag=D1FNrZtX1DD4N;call_id=<a href="mailto:fc73d94a-b08195b7-ed0f7f08@10.111.200.114">fc73d94a-b08195b7-ed0f7f08@10.111.200.114</a>;code=200;reason=OK;src_user=57331;src_domain=10.111.200.100;src_ip=10.111.200.114;dst_ouser=57333;dst_user=57333;dst_domain=10.111.200.100<br>
Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>: SIP From Header returned "57331" <<a href="mailto:sip%3A57331@10.111.200.100">sip:57331@10.111.200.100</a>>;tag=E4B595AE-9341656B<br>
Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>: AVP CallerID-Name returned Joel's Phone<br>Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>: AVP CallerID-Ext returned 13032190010<br>
Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>: P-Asserted Identity returned <null><br><br>______________________________________________________________________________________________________________<br>
Here is the ngrep trace<br><br>___________________________________________________________________________________________________________________<br><br><br># ngrep -qt -W byline -d any port 5060<br>interface: any<br>filter: (ip or ip6) and ( port 5060 )<br>
<br>U 2014/04/10 09:32:55.552772 <a href="http://10.111.200.100:5060">10.111.200.100:5060</a> -> <a href="http://10.111.200.114:5060">10.111.200.114:5060</a><br>SIP/2.0 407 Proxy Authentication Required.<br>Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bK6f74943b98BEB75C.<br>
From: "57331" <<a href="mailto:sip%3A57331@10.111.200.100">sip:57331@10.111.200.100</a>>;tag=7D08FD55-2FFAB73E.<br>To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.5899.<br>
CSeq: 1 INVITE.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>Proxy-Authenticate: Digest realm="10.111.200.100", nonce="U0aes1NGnYdRdbgKOrg3aaRFKeup+/St".<br>
Server: kamailio (4.1.2 (x86_64/linux)).<br>Content-Length: 0.<br>.<br><br><br>U 2014/04/10 09:32:55.560888 <a href="http://10.111.200.114:5060">10.111.200.114:5060</a> -> <a href="http://10.111.200.100:5060">10.111.200.100:5060</a><br>
ACK sip:752321@10.111.200.100:5060;user=phone SIP/2.0.<br>Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bK6f74943b98BEB75C.<br>From: "57331" <<a href="mailto:sip%3A57331@10.111.200.100">sip:57331@10.111.200.100</a>>;tag=7D08FD55-2FFAB73E.<br>
To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.5899.<br>CSeq: 1 ACK.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>
Contact: <<a href="http://sip:57331@10.111.200.114:5060">sip:57331@10.111.200.114:5060</a>>.<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.<br>User-Agent: PolycomSoundPointIP-SPIP_335-UA/3.2.6.0314.<br>
Accept-Language: en.<br>Max-Forwards: 70.<br>Content-Length: 0.<br>.<br><br><br>U 2014/04/10 09:32:55.564531 <a href="http://10.111.200.114:5060">10.111.200.114:5060</a> -> <a href="http://10.111.200.100:5060">10.111.200.100:5060</a><br>
INVITE sip:752321@10.111.200.100:5060;user=phone SIP/2.0.<br>Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.<br>From: "57331" <<a href="mailto:sip%3A57331@10.111.200.100">sip:57331@10.111.200.100</a>>;tag=7D08FD55-2FFAB73E.<br>
To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>.<br>CSeq: 2 INVITE.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>
Contact: <<a href="http://sip:57331@10.111.200.114:5060">sip:57331@10.111.200.114:5060</a>>.<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.<br>User-Agent: PolycomSoundPointIP-SPIP_335-UA/3.2.6.0314.<br>
Accept-Language: en.<br>Supported: 100rel,replaces.<br>Allow-Events: talk,hold,conference.<br>Proxy-Authorization: Digest username="57331", realm="10.111.200.100", nonce="U0aes1NGnYdRdbgKOrg3aaRFKeup+/St", uri="sip:752321@10.111.200.100:5060;user=phone", response="e57b81253175625021644631ec84da2a", algorithm=MD5.<br>
Max-Forwards: 70.<br>Content-Type: application/sdp.<br>Content-Length: 298.<br>.<br>v=0.<br>o=- 1397126246 1397126246 IN IP4 10.111.200.114.<br>s=Polycom IP Phone.<br>c=IN IP4 10.111.200.114.<br>t=0 0.<br>a=sendrecv.<br>m=audio 2232 RTP/AVP 9 0 8 18 127.<br>
a=rtpmap:9 G722/8000.<br>a=rtpmap:0 PCMU/8000.<br>a=rtpmap:8 PCMA/8000.<br>a=rtpmap:18 G729/8000.<br>a=fmtp:18 annexb=no.<br>a=rtpmap:127 telephone-event/8000.<br><br><br>U 2014/04/10 09:32:55.566011 <a href="http://10.111.200.100:5060">10.111.200.100:5060</a> -> <a href="http://10.111.200.114:5060">10.111.200.114:5060</a><br>
SIP/2.0 100 trying -- your call is important to us.<br>Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.<br>From: "57331" <<a href="mailto:sip%3A57331@10.111.200.100">sip:57331@10.111.200.100</a>>;tag=7D08FD55-2FFAB73E.<br>
To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>.<br>CSeq: 2 INVITE.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>
Server: kamailio (4.1.2 (x86_64/linux)).<br>Content-Length: 0.<br>.<br><br><br>U 2014/04/10 09:32:55.566521 <a href="http://10.111.200.100:5060">10.111.200.100:5060</a> -> <a href="http://10.111.200.100:5090">10.111.200.100:5090</a><br>
INVITE sip:752321@10.111.200.100:5060;user=phone SIP/2.0.<br>Record-Route: <sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.<br>Via: SIP/2.0/UDP 10.111.200.100;branch=z9hG4bK10bf.7a4e7b701fd8ab1fc629ed0d6e4c7b93.0.<br>
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.<br>From: Joel's Phone <13032190010>;tag=7D08FD55-2FFAB73E.<br>To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>.<br>
CSeq: 2 INVITE.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>Contact: <<a href="http://sip:57331@10.111.200.114:5060">sip:57331@10.111.200.114:5060</a>>.<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.<br>User-Agent: PolycomSoundPointIP-SPIP_335-UA/3.2.6.0314.<br>Accept-Language: en.<br>Supported: 100rel,replaces.<br>Allow-Events: talk,hold,conference.<br>
Max-Forwards: 16.<br>Content-Type: application/sdp.<br>Content-Length: 298.<br>.<br>v=0.<br>o=- 1397126246 1397126246 IN IP4 10.111.200.114.<br>s=Polycom IP Phone.<br>c=IN IP4 10.111.200.114.<br>t=0 0.<br>a=sendrecv.<br>m=audio 2232 RTP/AVP 9 0 8 18 127.<br>
a=rtpmap:9 G722/8000.<br>a=rtpmap:0 PCMU/8000.<br>a=rtpmap:8 PCMA/8000.<br>a=rtpmap:18 G729/8000.<br>a=fmtp:18 annexb=no.<br>a=rtpmap:127 telephone-event/8000.<br><br><br>U 2014/04/10 09:32:55.567074 <a href="http://10.111.200.100:5090">10.111.200.100:5090</a> -> <a href="http://10.111.200.100:5060">10.111.200.100:5060</a><br>
SIP/2.0 100 Trying.<br>Via: SIP/2.0/UDP 10.111.200.100;branch=z9hG4bK10bf.7a4e7b701fd8ab1fc629ed0d6e4c7b93.0.<br>Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.<br>Record-Route: <sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.<br>
From: Joel's Phone <13032190010>;tag=7D08FD55-2FFAB73E.<br>To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>
CSeq: 2 INVITE.<br>User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.<br>Content-Length: 0.<br>.<br><br><br>U 2014/04/10 09:32:55.581110 <a href="http://10.111.200.100:5090">10.111.200.100:5090</a> -> <a href="http://10.100.200.10:5060">10.100.200.10:5060</a><br>
INVITE <a href="mailto:sip%3A52321@10.100.200.10">sip:52321@10.100.200.10</a> SIP/2.0.<br>Via: SIP/2.0/UDP 10.111.200.100:5090;rport;branch=z9hG4bKj0021UKc7Xj8c.<br>Max-Forwards: 14.<br>From: "Joel's Phone" <sip:10.111.200.100>;tag=7B1S6ygSpNgaK.<br>
To: <<a href="mailto:sip%3A52321@10.100.200.10">sip:52321@10.100.200.10</a>>.<br>Call-ID: 76fc001b-3b57-1232-bca0-32ab07e7dc91.<br>CSeq: 58232323 INVITE.<br>Contact: <<a href="http://sip:mod_sofia@10.111.200.100:5090">sip:mod_sofia@10.111.200.100:5090</a>>.<br>
User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.<br>Supported: timer, path, replaces.<br>
Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.<br>Content-Type: application/sdp.<br>Content-Disposition: session.<br>
Content-Length: 207.<br>X-FS-Support: update_display,send_info.<br>Remote-Party-ID: "Joel's Phone" <<a href="mailto:sip%3A@cluecon.com">sip:@cluecon.com</a>>;party=calling;screen=yes;privacy=off.<br>.<br>
v=0.<br>o=FreeSWITCH 1397112593 1397112594 IN IP4 10.111.200.100.<br>s=FreeSWITCH.<br>c=IN IP4 10.111.200.100.<br>t=0 0.<br>m=audio 24182 RTP/AVP 9 0 8 101 13.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-16.<br>
a=ptime:20.<br><br><br>U 2014/04/10 09:32:55.584545 <a href="http://10.100.200.10:5060">10.100.200.10:5060</a> -> <a href="http://10.111.200.100:5090">10.111.200.100:5090</a><br>SIP/2.0 100 Trying.<br>From: "Joel's Phone"<sip:10.111.200.100>;tag=7B1S6ygSpNgaK.<br>
To: <<a href="mailto:sip%3A52321@10.100.200.10">sip:52321@10.100.200.10</a>>.<br>Call-ID: 76fc001b-3b57-1232-bca0-32ab07e7dc91.<br>CSeq: 58232323 INVITE.<br>Via: SIP/2.0/UDP 10.111.200.100:5090;rport=5090;branch=z9hG4bKj0021UKc7Xj8c.<br>
Supported: 100rel,x-nortel-sipvc,replaces.<br>User-Agent: Nortel CS1000 SIP GW release_7.0 version_ssLinux-7.00.20.<br>Contact: <<a href="mailto:sip%3A52321@10.100.200.10">sip:52321@10.100.200.10</a>>.<br>Allow: INVITE,ACK,BYE,REGISTER,REFER,NOTIFY,CANCEL,PRACK,OPTIONS,INFO,SUBSCRIBE,UPDATE.<br>
Content-Length: 0.<br>.<br><br><br>U 2014/04/10 09:32:55.600932 <a href="http://10.100.200.10:5060">10.100.200.10:5060</a> -> <a href="http://10.111.200.100:5090">10.111.200.100:5090</a><br>SIP/2.0 180 Ringing.<br>From: "Joel's Phone"<sip:10.111.200.100>;tag=7B1S6ygSpNgaK.<br>
To: <<a href="mailto:sip%3A52321@10.100.200.10">sip:52321@10.100.200.10</a>>;tag=309f6b8-a0b6f0a-13c4-55013-e4e07e-100d11c6-e4e07e.<br>Call-ID: 76fc001b-3b57-1232-bca0-32ab07e7dc91.<br>CSeq: 58232323 INVITE.<br>Via: SIP/2.0/UDP 10.111.200.100:5090;rport=5090;branch=z9hG4bKj0021UKc7Xj8c.<br>
Supported: 100rel,x-nortel-sipvc,replaces.<br>User-Agent: Nortel CS1000 SIP GW release_7.0 version_ssLinux-7.00.20.<br>P-Asserted-Identity: <sip:52321;phone-context=<a href="mailto:UnknownUnknown@sip.voice.net">UnknownUnknown@sip.voice.net</a>;user=phone>.<br>
Privacy: none.<br>Contact: <sip:52321;phone-context=UnknownUnknown@sip.voice.net:5060;maddr=10.100.200.10;transport=udp;user=phone>.<br>Allow: INVITE,ACK,BYE,REGISTER,REFER,NOTIFY,CANCEL,PRACK,OPTIONS,INFO,SUBSCRIBE,UPDATE.<br>
Content-Length: 0.<br>.<br><br><br>U 2014/04/10 09:32:55.622448 <a href="http://10.111.200.100:5090">10.111.200.100:5090</a> -> <a href="http://10.111.200.100:5060">10.111.200.100:5060</a><br>SIP/2.0 180 Ringing.<br>Via: SIP/2.0/UDP 10.111.200.100;branch=z9hG4bK10bf.7a4e7b701fd8ab1fc629ed0d6e4c7b93.0.<br>
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.<br>Record-Route: <sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.<br>From: Joel's Phone <13032190010>;tag=7D08FD55-2FFAB73E.<br>
To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>;tag=627043ZNSctQQ.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>
CSeq: 2 INVITE.<br>Contact: <sip:752321@10.111.200.100:5090;transport=udp>.<br>User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.<br>Accept: application/sdp.<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.<br>
Supported: timer, path, replaces.<br>Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.<br>Content-Length: 0.<br>Remote-Party-ID: "Outbound Call" <52321;phone-context=UnknownUnknown>;party=calling;privacy=off;screen=no.<br>
.<br><br><br>U 2014/04/10 09:32:55.622863 <a href="http://10.111.200.100:5060">10.111.200.100:5060</a> -> <a href="http://10.111.200.114:5060">10.111.200.114:5060</a><br>SIP/2.0 180 Ringing.<br>Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.<br>
Record-Route: <sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.<br>From: "57331" <<a href="mailto:sip%3A57331@10.111.200.100">sip:57331@10.111.200.100</a>>;tag=7D08FD55-2FFAB73E.<br>
To: <<a href="mailto:sip%3A752321@10.111.200.100">sip:752321@10.111.200.100</a>;user=phone>;tag=627043ZNSctQQ.<br>Call-ID: <a href="mailto:d9a3ef1-b295fd8a-f66486f7@10.111.200.114">d9a3ef1-b295fd8a-f66486f7@10.111.200.114</a>.<br>
CSeq: 2 INVITE.<br>Contact: <sip:752321@10.111.200.100:5090;transport=udp>.<br>User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.<br>Accept: application/sdp.<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.<br>
Supported: timer, path, replaces.<br>Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.<br>Content-Length: 0.<br>Remote-Party-ID: "Outbound Call" <52321;phone-context=UnknownUnknown>;party=calling;privacy=off;screen=no.<br>
<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 9, 2014 at 4:43 AM, Daniel Tryba <span dir="ltr"><<a href="mailto:daniel@pocos.nl" target="_blank">daniel@pocos.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Tuesday 08 April 2014 14:08:03 Joel E White wrote:<br>
> I just need to know the proper way to pass did information<br>
<br>
</div>uac_replace_from is the proper way, but you are not giving any information<br>
about what you are setting and what the results are in the logs and sip<br>
packets. So what is in syslog and attach a ngrep trace.<br>
<br>
BTW $hdr(From) will not be changed during routing in kamailio.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
POCOS B.V. - Croy 9c - 5653 LC Eindhoven<br>
Telefoon: 040 293 8661 - Fax: 040 293 8658<br>
<a href="http://www.pocos.nl/" target="_blank">http://www.pocos.nl/</a>   - <a href="http://www.sipo.nl/" target="_blank">http://www.sipo.nl/</a><br>
K.v.K. Eindhoven 17097024<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>