[Freeswitch-users] How to set user in contact header on b-leg for external gateway?

Seudin Kasumovic seudin.kasumovic at gmail.com
Tue Sep 17 17:32:34 MSD 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130917/70da882e/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list