you for sure need late negotiation:
also:
You are only setting the variable on the inbound leg but not the outbound leg.
Remember there are 2 separate channels here.
Try this in the same place you are setting the caller id in your broken example:
<!-- this will allow absolute_codec_string to be propagated across
the downside here is that it will clobber any other previous exported vars
->
<action application="set" data="export_vars=absolute_codec_string"/>
or
<!-- This is a bit redundant but will ensure it's set on inbound and outbound legs -->
<action application="export" data="absolute_codec_string=${absolute_codec_string}"/>
you could also do this to pass it across
<action application="bridge"
data="{absolute_codec_string=${absolute_codec_string}}sofia/gateway/${default_gateway}/$1"/>
Oddly enough, I initially though that was the problem and enabled it without any success...freeswitch@noesis.metik.com> sofia status profile internal
API CALL [sofia(status profile internal)] output:
=================================================================================================
Name internal
Domain Name N/A
DBName sofia_reg_internal
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_from
RTP-IP 192.168.1.100
Ext-RTP-IP 192.168.1.100
SIP-IP 192.168.1.100
Ext-SIP-IP 192.168.1.100
URL sip:mod_sofia@192.168.1.100:5062
BIND-URL sip:mod_sofia@192.168.1.100:5062;maddr=192.168.1.100
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS G722,PCMU,PCMA,GSM
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG true
PROXY-MEDIA false
AGGRESSIVENAT false
STUN-ENABLED true
STUN-AUTO-DISABLE false
CALLS-IN 5
FAILED-CALLS-IN 0
CALLS-OUT 10
FAILED-CALLS-OUT 0
_______________________________________________
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