[SR-Users] Caller ID number being passed to Gateway
Joel E White
joelewhite at gmail.com
Tue Apr 8 01:33:15 CEST 2014
Kamailio Version 4.1
No, when I do the uac_replace_from the username or the did (specified in
the db) do not show in FreeSWITCH
On 4/7/2014 2:46 PM, Kelvin Chua wrote:
> hi joel,
>
> what kamailio version are you using?
> can you verify if you see your old username at the end of the domain?
>
> for example:
>
> user1 at domain.com <mailto:user1 at domain.com>
>
> after calling uac_replace_from
>
> you wll get
>
> user2 at domain.comuser1
>
> Kelvin Chua
>
>
> On Mon, Apr 7, 2014 at 11:36 AM, Joel White <joelewhite at gmail.com
> <mailto:joelewhite at gmail.com>> wrote:
>
> What I am getting on the FreeSWITCH side is this...
>
> Name passes, but DID is set without @ IP
>
> From: Test Phone 2 <1XXXYYYY>
>
> Call does go through, but not with the information I would like....
>
>
>
>
> On Mon, Apr 7, 2014 at 12:13 PM, Joel E White
> <joelewhite at gmail.com <mailto:joelewhite at gmail.com>> wrote:
>
> I have been playing with this for a couple days.
>
> What I have pulls from the usr_preferences DB and "Should"
> insert CID Name and CID Number
>
> What I am ending up with is that the name portion is being
> sent, not the number. Is there a certain format that I should
> add the DID in usr_preferences?
>
> Also when I changed the AVP type in the DB from a 0 to a 1 the
> value for CID DID changes...
>
> can someone help me with correcting this behavior?
>
> avp_db_load("$from","$avp(s:callerid-name)");
> avp_db_load("$from","$avp(s:caller-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");
>
>
> Thank you,
> Joel
>
> ---
> This email is free from viruses and malware because avast!
> Antivirus protection is active.
> http://www.avast.com
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> 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
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140407/50477725/attachment.html>
More information about the sr-users
mailing list