[Freeswitch-users] How to set user in contact header on b-leg for external gateway?
Brian West
brian at freeswitch.org
Wed Sep 18 01:42:08 MSD 2013
Look in sofia_glue.c in do_invite at all the variables you can set...
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH_Wire , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Sep 17, 2013, at 8:32 AM, Seudin Kasumovic <seudin.kasumovic at gmail.com> wrote:
> Hi,
>
> Call comes over external gateway and pass to another external gateway via outbound proxy (no authentication nor registration), but on b-leg contact header is not as expected username from tag 'From:' of a-leg.
>
> a-leg works correct for inbound calls via external gateway:
>
> Contact: <sip:1001 at 1.2.3.4:5060;transport=udp>
>
> but b-leg (outbound calls) has header set to:
>
> Contact: <sip:auto_to_user at 1.2.3.4:5060;transport=udp;gw=mygw>
>
> I tried to set empty value or comment this line of external gateway:
>
> <param name="extension" value="auto_to_user"/>
>
> but then call failed.
>
> How to set user in contact header on b-leg or/and what to export from dial plan to populate user in contact header on external gateway?
>
> Regards,
> Seudin
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130917/0ab681cb/attachment.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list