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

2009-05-18 Thread Metik
Math,

That was it--thank you very much!  

-Metik
  - Original Message - 
  From: Mathieu Rene 
  To: freeswitch-users@lists.freeswitch.org 
  Sent: Monday, May 18, 2009 3:25 PM
  Subject: Re: [Freeswitch-users] User Directory and Per-user(Channel)variables


  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.


  


  Math


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


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:


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


Brian West
br...@freeswitch.org


-- Meet us at ClueCon!  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





--


  ___
  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
___
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


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

2009-05-18 Thread Anthony Minessale
=D
That's another way I didn't mention.

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


On Mon, May 18, 2009 at 2:25 PM, Mathieu Rene  wrote:

> 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.
>
> 
>
> Math
>
> On 18-May-09, at 9:18 PM, Brian West wrote:
>
> 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:
>
> Oddly enough, I initially though that was the problem and enabled
> it without any success...
>
>
> Brian West
> br...@freeswitch.org
>
> -- Meet us at ClueCon!  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
>
>
>
> ___
> 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
>
>


-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_miness...@hotmail.com 
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org 
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
___
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


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

2009-05-18 Thread Anthony Minessale
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:





you could also do this to pass it across

 









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

>  Oddly enough, I initially though that was the problem and enabled
> it without any success...
>
> freeswi...@noesis.metik.com> sofia status profile internal
> API CALL [sofia(status profile internal)] output:
>
> =
> Nameinternal
> Domain Name N/A
> DBName  sofia_reg_internal
> Pres Hosts
> DialplanXML
> 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_so...@192.168.1.100:5062
> BIND-URLsip:mod_so...@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-NEGtrue
> PROXY-MEDIA false
> AGGRESSIVENAT   false
> STUN-ENABLEDtrue
> STUN-AUTO-DISABLE   false
> CALLS-IN5
> FAILED-CALLS-IN 0
> CALLS-OUT   10
> FAILED-CALLS-OUT0
>
>
>
>
> ___
> 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
>
>


-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_miness...@hotmail.com 
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org 
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
___
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


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

2009-05-18 Thread Mathieu Rene
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.



Math

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

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:

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


Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  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


___
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


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

2009-05-18 Thread Brian West
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:

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


Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  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


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

2009-05-18 Thread Metik
Oddly enough, I initially though that was the problem and enabled it without 
any success...

freeswi...@noesis.metik.com> sofia status profile internal
API CALL [sofia(status profile internal)] output:
=
Nameinternal
Domain Name N/A
DBName  sofia_reg_internal
Pres Hosts  
DialplanXML
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_so...@192.168.1.100:5062
BIND-URLsip:mod_so...@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-NEGtrue
PROXY-MEDIA false
AGGRESSIVENAT   false
STUN-ENABLEDtrue
STUN-AUTO-DISABLE   false
CALLS-IN5
FAILED-CALLS-IN 0
CALLS-OUT   10
FAILED-CALLS-OUT0
___
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


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

2009-05-18 Thread Brian West
Because by the time it gets here... the codec is already picked..  
you'll have to turn on late neg. for this to work.


/b

On May 18, 2009, at 1:08 PM, Metik wrote:


 


Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  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


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

2009-05-18 Thread Metik
bridge() appears to be ignoring the "absolute_codec_string" channel variable 
defined in the User Directory even though "info" shows that it is present. 
Other variables, such as "effective_caller_id_number" seem to behave 
correctly which leads me to believe that this may be a very minor bug.

In order to ease trouble shooting, I have tried to implement it using a 
configuration that clings rather closely to the sample/default configuration 
files...

// User Directory sample

  

  
  


  
  
  
  
  

  

// Dialplan broken sample (relies on the channel variable defined in the 
User Directory)

  


  
  

  

// Dialplan working sample (explicit use of the channel variable)

  


  
  
  
  

  

// Gateway sample


  
  
  
  
  
 


___
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