1
Yate server for Google Voice / Re: Multiple GV Connections
« on: June 24, 2013, 02:12:17 PM »
Marian,
After several attempts at trying out different codes in my script, I'm happy to announce that I've gotten it to work. I'm unsure of whether any portions of my script has any conflicting violations, but I'm truly excited in getting this to work. I've attached the portion of regexroute.conf for those who wants to get multiple GV accounts on their Yate server. Big thanks goes to Marian for his/her work in providing the scripts to get this to work.
REGEXROUTE.CONF
After several attempts at trying out different codes in my script, I'm happy to announce that I've gotten it to work. I'm unsure of whether any portions of my script has any conflicting violations, but I'm truly excited in getting this to work. I've attached the portion of regexroute.conf for those who wants to get multiple GV accounts on their Yate server. Big thanks goes to Marian for his/her work in providing the scripts to get this to work.
REGEXROUTE.CONF
Code: [Select]
^.*$=echo called is ${called}
${in_line}GoogleVoice1=;called=101;jingle_version=0;jingle_flags=noping;dtmfmethod=rfc2833
${in_line}GoogleVoice2=;called=102;jingle_version=0;jingle_flags=noping;dtmfmethod=rfc2833
${in_line}GoogleVoice3=;called=103;jingle_version=0;jingle_flags=noping;dtmfmethod=rfc2833
Code: [Select]
[default]
${username}^$=-;error=noauth
${module}^sip$={
${username}^101$=goto GV_CALL;line=GoogleVoice1
${username}^102$=goto GV_CALL;line=GoogleVoice2
${username}^103$=goto GV_CALL;line=GoogleVoice3
}
[GV_CALL]
; Set extra parameters for all calls to GV
^\([1-9][0-9]\{6\}\)$=jingle/1YOURAREACODE\1@voice.google.com;\
ojingle_version=0;ojingle_flags=noping;redirectcount=5;checkcalled=false;dtmfmethod=rfc2833
^\([1-9][0-9]\{2\}[1-9][0-9]\{6\}\)$=jingle/1\1@voice.google.com;\
ojingle_version=0;ojingle_flags=noping;redirectcount=5;checkcalled=false;dtmfmethod=rfc2833
^\(+\?1[1-9][0-9]\{2\}[1-9][0-9]\{6\}\)$=jingle/\1@voice.google.com;\
ojingle_version=0;ojingle_flags=noping;redirectcount=5;checkcalled=false;dtmfmethod=rfc2833