[SR-Users] Caller ID number being passed to Gateway

Joel White joelewhite at gmail.com
Thu Apr 10 15:51:44 CEST 2014


Ok, so what I am trying is this


I am placing the uac statement in the FreeSWITCH routing as I only care to
set the Caller ID for outbound calling

_________________________________________________________________________________________________________


route[FSDISPATCH] {
    if(!is_method("INVITE"))
        return;
    if(route(FSINBOUND))
        return;

     # dial number selection
    switch($rU) {
        case /"^18[0-9]{9}$":
            strip(0);
        break;
        case /"^911$":
            strip(0);
        break;
        case /"^41$":
            # 41 - voicebox menu
            # allow only authenticated users
            if($au==$null)
            {
                sl_send_reply("403", "Not allowed");
                exit;
            }
            $rU = "vm-" + $au;
        break;
        case /"^441[0-9][0-9]$":
            # starting with 44 followed by 1XY - direct call to voice box
            strip(2);
            route(FSVBOX);
        break;
        case /"^433[01][0-9][0-9]$":
            # starting with 433 followed by (0|1)XY - conference
            strip(2);
        break;
        case /"^45[0-9]+$":
            strip(2);
        break;
        case /"^7[0-9]{5}$":
            avp_db_load("$from","$avp(s:callerid-name)");
            avp_db_load("$from","$avp(s:callerid-did)");

uac_replace_from("$avp(s:callerid-name)","$avp(s:callerid-did)");
            xlog("SIP From Header returned $hdr(From)\n");
            xlog("AVP CallerID-Name returned $avp(s:callerid-name)\n");
            xlog("AVP CallerID-Ext returned $avp(s:callerid-did)\n");
            xlog("P-Asserted Identity returned $ai\n");
            strip(0);
        break;
        case /"^1[0-9]{10}$":
            avp_db_load("$from","$avp(s:callerid-name)");
            avp_db_load("$from","$avp(s:callerid-did)");

uac_replace_from("$avp(s:callerid-name)","$avp(s:callerid-did)");
            xlog("SIP From Header returned $hdr(From)\n");
            xlog("AVP CallerID-Name returned $avp(s:callerid-name)\n");
            xlog("AVP CallerID-Ext returned $avp(s:callerid-did)\n");
            xlog("P-Asserted Identity returned $ai\n");
            strip(0);
        break;

_________________________________________________________________________________________________________

Here is the Syslog

_________________________________________________________________________________________________________


Apr 10 09:19:04 siprouter-testbed kamailio[20069]: NOTICE: <core>
[main.c:730]: handle_sigs(): Thank you for flying kamailio!!!
Apr 10 09:19:04 siprouter-testbed kamailio[20096]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20094]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20095]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20084]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20093]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20083]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20085]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20081]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20082]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20078]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20080]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20079]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20075]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20072]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20076]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20073]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20074]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
Apr 10 09:19:04 siprouter-testbed kamailio[20077]: INFO: <core>
[main.c:841]: sig_usr(): INFO: signal 15 received
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
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
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)
Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: rr
[../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob
Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: rr [rr_mod.c:159]:
mod_init(): outbound module not available
Apr 10 09:19:06 siprouter-testbed kamailio[20163]: INFO: usrloc
[hslot.c:53]: ul_init_locks(): locks array size 512
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
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
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
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
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
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)
Apr 10 09:19:06 siprouter-testbed kamailio[20179]: INFO: mi_datagram
[mi_datagram.c:329]: datagram_process(): a new child 0/20179
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
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=
fc73d94a-b08195b7-ed0f7f08 at 10.111.200.114
;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
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=
fc73d94a-b08195b7-ed0f7f08 at 10.111.200.114
;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
Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>: SIP
>From Header returned "57331" <sip:57331 at 10.111.200.100
>;tag=E4B595AE-9341656B
Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>: AVP
CallerID-Name returned Joel's Phone
Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>: AVP
CallerID-Ext returned 13032190010
Apr 10 09:19:22 siprouter-testbed kamailio[20171]: ERROR: <script>:
P-Asserted Identity returned <null>

______________________________________________________________________________________________________________
Here is the ngrep trace

___________________________________________________________________________________________________________________


# ngrep -qt -W byline -d any port 5060
interface: any
filter: (ip or ip6) and ( port 5060 )

U 2014/04/10 09:32:55.552772 10.111.200.100:5060 -> 10.111.200.114:5060
SIP/2.0 407 Proxy Authentication Required.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bK6f74943b98BEB75C.
From: "57331" <sip:57331 at 10.111.200.100>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100
;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.5899.
CSeq: 1 INVITE.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
Proxy-Authenticate: Digest realm="10.111.200.100",
nonce="U0aes1NGnYdRdbgKOrg3aaRFKeup+/St".
Server: kamailio (4.1.2 (x86_64/linux)).
Content-Length: 0.
.


U 2014/04/10 09:32:55.560888 10.111.200.114:5060 -> 10.111.200.100:5060
ACK sip:752321 at 10.111.200.100:5060;user=phone SIP/2.0.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bK6f74943b98BEB75C.
From: "57331" <sip:57331 at 10.111.200.100>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100
;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.5899.
CSeq: 1 ACK.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
Contact: <sip:57331 at 10.111.200.114:5060>.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY,
PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_335-UA/3.2.6.0314.
Accept-Language: en.
Max-Forwards: 70.
Content-Length: 0.
.


U 2014/04/10 09:32:55.564531 10.111.200.114:5060 -> 10.111.200.100:5060
INVITE sip:752321 at 10.111.200.100:5060;user=phone SIP/2.0.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.
From: "57331" <sip:57331 at 10.111.200.100>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100;user=phone>.
CSeq: 2 INVITE.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
Contact: <sip:57331 at 10.111.200.114:5060>.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY,
PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_335-UA/3.2.6.0314.
Accept-Language: en.
Supported: 100rel,replaces.
Allow-Events: talk,hold,conference.
Proxy-Authorization: Digest username="57331", realm="10.111.200.100",
nonce="U0aes1NGnYdRdbgKOrg3aaRFKeup+/St",
uri="sip:752321 at 10.111.200.100:5060;user=phone",
response="e57b81253175625021644631ec84da2a", algorithm=MD5.
Max-Forwards: 70.
Content-Type: application/sdp.
Content-Length: 298.
.
v=0.
o=- 1397126246 1397126246 IN IP4 10.111.200.114.
s=Polycom IP Phone.
c=IN IP4 10.111.200.114.
t=0 0.
a=sendrecv.
m=audio 2232 RTP/AVP 9 0 8 18 127.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:127 telephone-event/8000.


U 2014/04/10 09:32:55.566011 10.111.200.100:5060 -> 10.111.200.114:5060
SIP/2.0 100 trying -- your call is important to us.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.
From: "57331" <sip:57331 at 10.111.200.100>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100;user=phone>.
CSeq: 2 INVITE.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
Server: kamailio (4.1.2 (x86_64/linux)).
Content-Length: 0.
.


U 2014/04/10 09:32:55.566521 10.111.200.100:5060 -> 10.111.200.100:5090
INVITE sip:752321 at 10.111.200.100:5060;user=phone SIP/2.0.
Record-Route:
<sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.
Via: SIP/2.0/UDP
10.111.200.100;branch=z9hG4bK10bf.7a4e7b701fd8ab1fc629ed0d6e4c7b93.0.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.
From: Joel's Phone <13032190010>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100;user=phone>.
CSeq: 2 INVITE.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
Contact: <sip:57331 at 10.111.200.114:5060>.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY,
PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_335-UA/3.2.6.0314.
Accept-Language: en.
Supported: 100rel,replaces.
Allow-Events: talk,hold,conference.
Max-Forwards: 16.
Content-Type: application/sdp.
Content-Length: 298.
.
v=0.
o=- 1397126246 1397126246 IN IP4 10.111.200.114.
s=Polycom IP Phone.
c=IN IP4 10.111.200.114.
t=0 0.
a=sendrecv.
m=audio 2232 RTP/AVP 9 0 8 18 127.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:127 telephone-event/8000.


U 2014/04/10 09:32:55.567074 10.111.200.100:5090 -> 10.111.200.100:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP
10.111.200.100;branch=z9hG4bK10bf.7a4e7b701fd8ab1fc629ed0d6e4c7b93.0.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.
Record-Route:
<sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.
From: Joel's Phone <13032190010>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100;user=phone>.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
CSeq: 2 INVITE.
User-Agent:
FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.
Content-Length: 0.
.


U 2014/04/10 09:32:55.581110 10.111.200.100:5090 -> 10.100.200.10:5060
INVITE sip:52321 at 10.100.200.10 SIP/2.0.
Via: SIP/2.0/UDP 10.111.200.100:5090;rport;branch=z9hG4bKj0021UKc7Xj8c.
Max-Forwards: 14.
From: "Joel's Phone" <sip:10.111.200.100>;tag=7B1S6ygSpNgaK.
To: <sip:52321 at 10.100.200.10>.
Call-ID: 76fc001b-3b57-1232-bca0-32ab07e7dc91.
CSeq: 58232323 INVITE.
Contact: <sip:mod_sofia at 10.111.200.100:5090>.
User-Agent:
FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 207.
X-FS-Support: update_display,send_info.
Remote-Party-ID: "Joel's Phone" <sip:@cluecon.com
>;party=calling;screen=yes;privacy=off.
.
v=0.
o=FreeSWITCH 1397112593 1397112594 IN IP4 10.111.200.100.
s=FreeSWITCH.
c=IN IP4 10.111.200.100.
t=0 0.
m=audio 24182 RTP/AVP 9 0 8 101 13.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.


U 2014/04/10 09:32:55.584545 10.100.200.10:5060 -> 10.111.200.100:5090
SIP/2.0 100 Trying.
From: "Joel's Phone"<sip:10.111.200.100>;tag=7B1S6ygSpNgaK.
To: <sip:52321 at 10.100.200.10>.
Call-ID: 76fc001b-3b57-1232-bca0-32ab07e7dc91.
CSeq: 58232323 INVITE.
Via: SIP/2.0/UDP 10.111.200.100:5090;rport=5090;branch=z9hG4bKj0021UKc7Xj8c.
Supported: 100rel,x-nortel-sipvc,replaces.
User-Agent: Nortel CS1000 SIP GW release_7.0 version_ssLinux-7.00.20.
Contact: <sip:52321 at 10.100.200.10>.
Allow:
INVITE,ACK,BYE,REGISTER,REFER,NOTIFY,CANCEL,PRACK,OPTIONS,INFO,SUBSCRIBE,UPDATE.
Content-Length: 0.
.


U 2014/04/10 09:32:55.600932 10.100.200.10:5060 -> 10.111.200.100:5090
SIP/2.0 180 Ringing.
From: "Joel's Phone"<sip:10.111.200.100>;tag=7B1S6ygSpNgaK.
To: <sip:52321 at 10.100.200.10
>;tag=309f6b8-a0b6f0a-13c4-55013-e4e07e-100d11c6-e4e07e.
Call-ID: 76fc001b-3b57-1232-bca0-32ab07e7dc91.
CSeq: 58232323 INVITE.
Via: SIP/2.0/UDP 10.111.200.100:5090;rport=5090;branch=z9hG4bKj0021UKc7Xj8c.
Supported: 100rel,x-nortel-sipvc,replaces.
User-Agent: Nortel CS1000 SIP GW release_7.0 version_ssLinux-7.00.20.
P-Asserted-Identity: <sip:52321;phone-context=UnknownUnknown at sip.voice.net
;user=phone>.
Privacy: none.
Contact: <sip:52321;phone-context=UnknownUnknown at sip.voice.net:5060
;maddr=10.100.200.10;transport=udp;user=phone>.
Allow:
INVITE,ACK,BYE,REGISTER,REFER,NOTIFY,CANCEL,PRACK,OPTIONS,INFO,SUBSCRIBE,UPDATE.
Content-Length: 0.
.


U 2014/04/10 09:32:55.622448 10.111.200.100:5090 -> 10.111.200.100:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP
10.111.200.100;branch=z9hG4bK10bf.7a4e7b701fd8ab1fc629ed0d6e4c7b93.0.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.
Record-Route:
<sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.
From: Joel's Phone <13032190010>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100;user=phone>;tag=627043ZNSctQQ.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
CSeq: 2 INVITE.
Contact: <sip:752321 at 10.111.200.100:5090;transport=udp>.
User-Agent:
FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.
Accept: application/sdp.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Content-Length: 0.
Remote-Party-ID: "Outbound Call"
<52321;phone-context=UnknownUnknown>;party=calling;privacy=off;screen=no.
.


U 2014/04/10 09:32:55.622863 10.111.200.100:5060 -> 10.111.200.114:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 10.111.200.114:5060;branch=z9hG4bKbe6ba148AEC469CD.
Record-Route:
<sip:10.111.200.100;lr=on;ftag=7D08FD55-2FFAB73E;vsf=QlpACQcGCgMBcQEwLjExMS4yNTIuNzA->.
From: "57331" <sip:57331 at 10.111.200.100>;tag=7D08FD55-2FFAB73E.
To: <sip:752321 at 10.111.200.100;user=phone>;tag=627043ZNSctQQ.
Call-ID: d9a3ef1-b295fd8a-f66486f7 at 10.111.200.114.
CSeq: 2 INVITE.
Contact: <sip:752321 at 10.111.200.100:5090;transport=udp>.
User-Agent:
FreeSWITCH-mod_sofia/1.2.23+git~20140319T002132Z~b96946822d~64bit.
Accept: application/sdp.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Allow-Events: talk, hold, conference, presence, dialog, line-seize,
call-info, sla, include-session-description, presence.winfo,
message-summary, refer.
Content-Length: 0.
Remote-Party-ID: "Outbound Call"
<52321;phone-context=UnknownUnknown>;party=calling;privacy=off;screen=no.




On Wed, Apr 9, 2014 at 4:43 AM, Daniel Tryba <daniel at pocos.nl> wrote:

> On Tuesday 08 April 2014 14:08:03 Joel E White wrote:
> > I just need to know the proper way to pass did information
>
> uac_replace_from is the proper way, but you are not giving any information
> about what you are setting and what the results are in the logs and sip
> packets. So what is in syslog and attach a ngrep trace.
>
> BTW $hdr(From) will not be changed during routing in kamailio.
>
> --
>
> POCOS B.V. - Croy 9c - 5653 LC Eindhoven
> Telefoon: 040 293 8661 - Fax: 040 293 8658
> http://www.pocos.nl/   - http://www.sipo.nl/
> K.v.K. Eindhoven 17097024
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140410/403644fa/attachment.html>


More information about the sr-users mailing list