SP,
That won't go into the from. You can't add params to the from unless
you have svn rev 12287 or higher. I added the ability to set
"sip_invite_params, sip_invite_to_params, sip_invite_from_params" to
sofia_glue.c, I added two lines and changed two lines to make this
possible.
So to be clear:
sip_invite_params will set params on the request URI,
sip_invite_to_params will set params on the to URI,
sip_invite_from_params will set params on the from URI.
(someone wiki this)
http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/endpoints/mod_sofia/sofia_glue.c?r1=12235&r2=12287
<extension name="test">
<condition field="destination_number" expression="^869$">
<action application="export"
data="sip_invite_to_params=this=kewl;that=iskewl"/>
<action application="bridge"
data="sofia/internal/[email protected]
"/>
</condition>
</extension>
You brought up a good point that it wasn't possible but when I looked
at the code it was fairly simple to add support for it so I did.
Please check out that Donate button on the home page! ;)
/b
PS: Its MikeJ's birthday today!
On Feb 25, 2009, at 2:13 PM, SP wrote:
> <action application="export"
> data="sip_invite_domain=some.domain;this=rocks"/>
>
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org