FreeSWITCH shows 

nobody@IP

I just need to know the proper way to pass did information 

Sent from my iPad

On Apr 7, 2014, at 7:33 PM, Joel E White <joelewhite@gmail.com> wrote:

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@domain.com

after calling uac_replace_from

you wll get

user2@domain.comuser1

Kelvin Chua


On Mon, Apr 7, 2014 at 11:36 AM, Joel White <joelewhite@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@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@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@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.