[asterisk-users] Extension and language for users/registered ends

Yann Massard y_massar at informatik.uni-kl.de
Sun Apr 22 13:51:38 MST 2007


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:password at sip.qsc.de/<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



More information about the asterisk-users mailing list