Hi,

I have spend allot of time searching a solution: We have different SIP accounts that our Asterisk registers to, for example:

[general]
port=5060
disable=all
allow=[...]
srvlookup=yes
pedantic=no
context=start
language=de

register => 0123456789:[EMAIL PROTECTED]/<someExtension>

Problem 1:
Incoming calls are now handled but they do not reach the extension specified in the register statement.

Problem 2:
The ${CHANNEL(language)} variable is not set (remains en).

Problem 3:
How can I make a user (I mean the word in context with peer, friend) section referring to the same user as the register statement. This is necessary because we would like to set the language for each user separately. I tried (did not work):

[0123456789]
type=user
username=0123456789
secret=password
canreinvite=no
language=de
insecure=port,invite
setvar=myvar=HALLO

Can anyone tell me how to do?
Best regards
Yann Massard

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to