Hi All, How can I make sure the SIP Call-Id header sent by Freeswitch when originating a new call is in the form of: uuid@host ? Thank you, Doron
The normal FS behaviour is to just use a uuid, but you could implement this manually with: <action application="bridge" data="[sip_invite_call_id=${create_uuid()} @${hostname}]sofia/profile/number@a.b.c.d"/> Of course doing this for every originate/bridge would be tedious. There's no requirement in SIP for it to be of the uuid@host format, it's simply defined as a byte string. Is there a specific reason you need it to be so? If you wish you could submit a patch to add this option via a profile flag. On 16 December 2014 at 12:29, Doron Kruh <doron@lexifone.com> wrote:
Hi All,
How can I make sure the SIP Call-Id header sent by Freeswitch when originating a new call is in the form of: uuid@host ?
Thank you,
Doron
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
Bigger question is why would the call id format matter? On Tue, Dec 16, 2014 at 8:05 AM, Steven Ayre <steveayre@gmail.com> wrote:
The normal FS behaviour is to just use a uuid, but you could implement this manually with:
<action application="bridge" data="[sip_invite_call_id=${create_uuid()} @${hostname}]sofia/profile/number@a.b.c.d"/>
Of course doing this for every originate/bridge would be tedious.
There's no requirement in SIP for it to be of the uuid@host format, it's simply defined as a byte string. Is there a specific reason you need it to be so? If you wish you could submit a patch to add this option via a profile flag.
On 16 December 2014 at 12:29, Doron Kruh <doron@lexifone.com> wrote:
Hi All,
How can I make sure the SIP Call-Id header sent by Freeswitch when originating a new call is in the form of: uuid@host ?
Thank you,
Doron
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
participants (3)
-
Brian West
-
Doron Kruh
-
Steven Ayre