Yann Massard
2007-Apr-22 13:52 UTC
[asterisk-users] Extension and language for users/registered ends
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@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
Yann Massard
2007-Apr-23 08:31 UTC
[asterisk-users] Extension and language for users/registered ends
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@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