Displaying 1 result from an estimated 1 matches for "_0031z".
Did you mean:
_0031x
2007 Apr 11
0
How to set fromuser in sip.conf so each user gets it's own callerid?
...context=xanadu-thba
[belcentrale-out-thba](belcentrale-outgoing)
type=peer
fromuser=31307115622
My extenson.conf looks like this:
[xanadu-thba]
exten => _+.,1,goto(00${EXTEN:1},1);00 is long distance calls => +
exten => _0[1-9].,1,goto(0031${EXTEN:1},1);local calls =>0031
exten => _0031Z., 1,Macro(dialout,SIP/${EXTEN}@belcentrale-out-thba) ;NL
exten => _+ZXX., 1,Macro(dialout,SIP/00${EXTEN:1}@belcentrale-out-thba);INT
My dialplan contains a context like xanadu-<user> for every user, only
to be able to set the fromuser correctly.
This works but I prefer to have one di...