VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
gshfreesw at gmail.com Guest
|
Posted: Tue Aug 25, 2009 9:57 pm Post subject: [Freeswitch-users] caller id on origination does not work |
|
|
I am setting the caller id like this in my ESL script:
@con.sendRecv("api originate {origination_caller_id_number=15103245678}sofia/gateway/junctionnetworks/1#{@number} &park()")
And the caller id comes out as all zeroes. The sip trace shows the "from" as shown in the sofia status command. This is output of sofia gateway status and my gateway is under /usr/local/freeswitch/conf/sip_profiles/external/junctionnetworks.xml . Also, adding the gateway under /conf/directory/default did not work as the wiki suugests. What I need to do for the caller_id to come through?
sofia status gateway junctionnetworks
=================================================================================================
Name junctionnetworks
Scheme Digest
Realm jnctn.net
Username username
Password yes
From <sip:username@jnctn.net ([email]sip%3Ausername@jnctn.net[/email]);transport=udp>
Contact <sip:gw+junctionnetworks@24.87.80.12:5080;transport=udp>
Exten 899xxxxxxx
To sip:username@sip.jnctn.net ([email]sip%3Ausername@sip.jnctn.net[/email])
Proxy sip:sip.jnctn.net
Context public
Expires 3600
Freq 3600
Ping 0
PingFreq 0
State REGED
Status UP
CallsIN 0
CallsOUT 1 |
|
Back to top |
|
|
sprice at gmail.com Guest
|
Posted: Tue Aug 25, 2009 10:12 pm Post subject: [Freeswitch-users] caller id on origination does not work |
|
|
You can try playing with this in your gateway profile
<param name="caller-id-in-from" value="true"/>
Not sure what it'll do to your registration, give it a try
On Tue, Aug 25, 2009 at 21:51, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:
Quote: | I am setting the caller id like this in my ESL script:
@con.sendRecv("api originate {origination_caller_id_number=15103245678}sofia/gateway/junctionnetworks/1#{@number} &park()")
And the caller id comes out as all zeroes. The sip trace shows the "from" as shown in the sofia status command. This is output of sofia gateway status and my gateway is under /usr/local/freeswitch/conf/sip_profiles/external/junctionnetworks.xml . Also, adding the gateway under /conf/directory/default did not work as the wiki suugests. What I need to do for the caller_id to come through?
sofia status gateway junctionnetworks
=================================================================================================
Name junctionnetworks
Scheme Digest
Realm jnctn.net
Username username
Password yes
From <sip:username@jnctn.net ([email]sip%3Ausername@jnctn.net[/email]);transport=udp>
Contact <sip:gw+junctionnetworks@24.87.80.12:5080;transport=udp>
Exten 899xxxxxxx
To sip:username@sip.jnctn.net ([email]sip%3Ausername@sip.jnctn.net[/email])
Proxy sip:sip.jnctn.net
Context public
Expires 3600
Freq 3600
Ping 0
PingFreq 0
State REGED
Status UP
CallsIN 0
CallsOUT 1
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Shannon |
|
Back to top |
|
|
raffaele.p.guidi at gm... Guest
|
Posted: Wed Aug 26, 2009 5:25 am Post subject: [Freeswitch-users] caller id on origination does not work |
|
|
I had the same problem with the Sipek2 Softphone (based on the pjsip stack) and I solved using the sip_contact_user variable like this:
Quote: | api originate {sip_contact_user=15103245678}sofia/gateway/junctionnetworks/1#{@number} &park() |
Hope this helps.
Ciao,
Raffaele
On Wed, Aug 26, 2009 at 04:51, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:
Quote: | I am setting the caller id like this in my ESL script:
@con.sendRecv("api originate {origination_caller_id_number=15103245678}sofia/gateway/junctionnetworks/1#{@number} &park()")
And the caller id comes out as all zeroes. The sip trace shows the "from" as shown in the sofia status command. This is output of sofia gateway status and my gateway is under /usr/local/freeswitch/conf/sip_profiles/external/junctionnetworks.xml . Also, adding the gateway under /conf/directory/default did not work as the wiki suugests. What I need to do for the caller_id to come through?
sofia status gateway junctionnetworks
=================================================================================================
Name junctionnetworks
Scheme Digest
Realm jnctn.net
Username username
Password yes
From <sip:username@jnctn.net ([email]sip%3Ausername@jnctn.net[/email]);transport=udp>
Contact <sip:gw+junctionnetworks@24.87.80.12:5080;transport=udp>
Exten 899xxxxxxx
To sip:username@sip.jnctn.net ([email]sip%3Ausername@sip.jnctn.net[/email])
Proxy sip:sip.jnctn.net
Context public
Expires 3600
Freq 3600
Ping 0
PingFreq 0
State REGED
Status UP
CallsIN 0
CallsOUT 1
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
gshfreesw at gmail.com Guest
|
Posted: Wed Aug 26, 2009 3:07 pm Post subject: [Freeswitch-users] caller id on origination does not work |
|
|
This is one did the trick.
Thanks.
On Tue, Aug 25, 2009 at 11:07 PM, SP <sprice@gmail.com (sprice@gmail.com)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|