I have tried a number of variations on: <action application="bridge" data="[from-user=abc,sip_auth_username=abc,sip_auth_password=123]sofia/external/$1@voip.mydomain.com"/> So far, to no avail. In all cases, the From does not contain "abc", but rather, the Caller-ID data. FreeSWITCH Version 1.0.5-20100329-0400 (17128M) Is it possible to modify From when placing an outbound call in absence of a gateway? -jbn
I think this line is wrong sofia/external/ ----- Original Message ----- From: "Justin B Newman" <justin@ejtown.org> To: <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, March 31, 2010 11:14 AM Subject: [Freeswitch-users] bridge from-user
I have tried a number of variations on:
<action application="bridge" data="[from-user=abc,sip_auth_username=abc,sip_auth_password=123]sofia/external/$1@voip.mydomain.com"/>
So far, to no avail. In all cases, the From does not contain "abc", but rather, the Caller-ID data.
FreeSWITCH Version 1.0.5-20100329-0400 (17128M)
Is it possible to modify From when placing an outbound call in absence of a gateway?
-jbn
_______________________________________________ FreeSWITCH-users mailing list 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
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Please read do_invite in sofia_glue.c (someone needs to document these) Have fun with these: sip_invite_domain sip_transport sip_contact_user sip_invite_call_id sip_from_uri sip_from_display sip_invite_from_uri sip_invite_to_uri sip_invite_to_params sip_invite_params sip_invite_contact_params sip_invite_from_params sip_invite_req_uri /b On Mar 31, 2010, at 10:14 AM, Justin B Newman wrote:
I have tried a number of variations on:
<action application="bridge" data="[from-user=abc,sip_auth_username=abc,sip_auth_password=123]sofia/external/$1@voip.mydomain.com"/>
So far, to no avail. In all cases, the From does not contain "abc", but rather, the Caller-ID data.
FreeSWITCH Version 1.0.5-20100329-0400 (17128M)
Is it possible to modify From when placing an outbound call in absence of a gateway?
-jbn
On Wed, Mar 31, 2010 at 11:33 AM, Brian West <brian@freeswitch.org> wrote:
Please read do_invite in sofia_glue.c (someone needs to document these)
sip_invite_from_uri
Many thanks for the pointer, both to the variable and to the correct section of code. In order to assert a specific From value in an INVITE, sans-gateway, the correct statement, for me, is: <action application="bridge" data="[sip_invite_from_uri=sip:abc,sip_auth_username=abc,sip_auth_password=def]sofia/external/$1@voip.mydomain.com"/> -jbn
participants (3)
-
Brian West
-
Justin B Newman
-
Madovsky