Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] User Directory and Per-user (Channel)variables


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
freeswitch-users-list ...
Guest





PostPosted: Mon May 18, 2009 2:12 pm    Post subject: [Freeswitch-users] User Directory and Per-user (Channel)vari Reply with quote

Oddly enough, I initially though that was the problem and enabled it without any success... freeswitch@noesis.metik.com> sofia status profile internalAPI CALL [sofia(status profile internal)] output:=================================================================================================Name internalDomain Name N/ADBName sofia_reg_internalPres Hosts Dialplan XMLContext publicChallenge Realm auto_fromRTP-IP 192.168.1.100Ext-RTP-IP 192.168.1.100SIP-IP 192.168.1.100Ext-SIP-IP 192.168.1.100URL sip:mod_sofia@192.168.1.100:5062BIND-URL sip:mod_sofia@192.168.1.100:5062;maddr=192.168.1.100HOLD-MUSIC local_stream://mohOUTBOUND-PROXY N/ACODECS G722,PCMU,PCMA,GSMTEL-EVENT 101DTMF-MODE rfc2833CNG 13SESSION-TO 0MAX-DIALOG 0NOMEDIA falseLATE-NEG truePROXY-MEDIA falseAGGRESSIVENAT falseSTUN-ENABLED trueSTUN-AUTO-DISABLE falseCALLS-IN 5FAILED-CALLS-IN 0CALLS-OUT 10FAILED-CALLS-OUT 0
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon May 18, 2009 2:21 pm    Post subject: [Freeswitch-users] User Directory and Per-user (Channel)vari Reply with quote

Are you authenticating phone calls? Also hop on IRC this email ping pong is too slow.

/b

On May 18, 2009, at 2:07 PM, Metik wrote:
Quote:
Oddly enough, I initially though that was the problem and enabled it without any success...


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Mon May 18, 2009 2:27 pm    Post subject: [Freeswitch-users] User Directory and Per-user (Channel)vari Reply with quote

absolute_codec_string needs to be available from the B-leg too so it can be used on outbound channels.

Add that to your directory entry and it should work.


<variable name="export_vars" value="absolute_codec_string" />


Math

On 18-May-09, at 9:18 PM, Brian West wrote:
Quote:
Are you authenticating phone calls? Also hop on IRC this email ping pong is too slow.

/b

On May 18, 2009, at 2:07 PM, Metik wrote:
Quote:
Oddly enough, I initially though that was the problem and enabled it without any success...


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com








_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon May 18, 2009 2:30 pm    Post subject: [Freeswitch-users] User Directory and Per-user (Channel)vari Reply with quote

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"/>










On Mon, May 18, 2009 at 2:07 PM, Metik <freeswitch-users-list@metik.com (freeswitch-users-list@metik.com)> wrote:
Quote:
Oddly enough, I initially though that was the problem and enabled it without any success...
 
freeswitch@noesis.metik.com (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
Quote:
 


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon May 18, 2009 2:39 pm    Post subject: [Freeswitch-users] User Directory and Per-user (Channel)vari Reply with quote

=D
That's another way I didn't mention.

There are 2 more but they are more complicated so I will omit them Wink


On Mon, May 18, 2009 at 2:25 PM, Mathieu Rene <mrene_lists@avgs.ca (mrene_lists@avgs.ca)> wrote:
Quote:
absolute_codec_string needs to be available from the B-leg too so it can be used on outbound channels.

Add that to your directory entry and it should work.


<variable name="export_vars" value="absolute_codec_string" />


Math


On 18-May-09, at 9:18 PM, Brian West wrote:



Quote:

Are you authenticating phone calls?  Also hop on IRC this email ping pong is too slow.

/b

On May 18, 2009, at 2:07 PM, Metik wrote:

Quote:
Oddly enough, I initially though that was the problem and enabled it without any success...


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon!  http://www.cluecon.com












_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services