X-Junk-Score: 0 [] X-Cloudmark-Score: 0 [] Return-Path: Received: from asmtpout025.mac.com ([17.148.16.100] verified) by mail.stalker.com (CommuniGate Pro SMTP 5.2.14) with ESMTP id 54258451 for CGatePro@mail.stalker.com; Sat, 27 Jun 2009 23:35:01 -0700 Received-SPF: pass receiver=mail.stalker.com; client-ip=17.148.16.100; envelope-from=kgretton@mac.com MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_S7dTxWQRowAbz0bj1Gc/tA)" Received: from [10.157.255.191] (genkt-048-096.t-mobile.co.uk [149.254.48.96]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KLX00H0RRL9CD80@asmtp025.mac.com> for CGatePro@mail.stalker.com; Sat, 27 Jun 2009 23:34:31 -0700 (PDT) From: Karl Subject: Re: voicemail and PBX how to Date: Sun, 28 Jun 2009 07:34:20 +0100 In-reply-to: To: CommuniGate Pro Discussions References: Message-id: X-Mailer: Apple Mail (2.1068) --Boundary_(ID_S7dTxWQRowAbz0bj1Gc/tA) Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-transfer-encoding: 7BIT Looks like you never received a response to this. Usually, your incoming calls are handled by a back to back user agent (B2BUA) via the router table. Each account has its DIDs registered as a telephone number against it. Something like this (North America): S:<*@voip.protocolis.com> = gatewayincoming{+*}#pbx S:<+*@voip.protocolis.com> = gatewayincoming{+*}#pbx Then the call is routed via standard rules such as: Use telnum and e164 S:<+*> = +*@telnum S:telnum = pstn This simply matches the number and sends it to the internal telnum lookup mechanism and maps it to the account with that phone number and routes the call. For the PBX auto attendant, you would usually simply redirect the call to '#pbx' which tells it to start the PBX script. Same thing for voicemail. The issue that you could be having is that, because you are not using a B2BUA, CGP 'reInvites' the call to go to a different extension and many gateways do not allow this. With the B2BUA, the call is only routed once from the external gateway perspective. Karl On 2009-06-25, at 2:55 PM, Lightology Postmaster wrote: > Hello Support and CGP community, > > I have a hard time setting up the voicemail and the auto attendant > and maybe someone here can point me in the right direction. > > The symptom is the I can't get an incoming call coming through a SIP > gateway to go to the PBX auto attendant or to a voice mail, the auto > attendant(calling ext. 200) and voice mail work if calling from an > internal extension, but not from outside. The gateway works properly > for incoming and outgoing calls and the CGP router has the default > configurations. > > Voice mail issue: > in settings>real-time>sip>gateway I set up "contact: " to be an email > address of one of the users not the pbx, so the calls coming through > form > that particular gateway should go directly to the users I specified. > 1. if there is no phone registered for the user the call is getting > immediately > disconnected > 2. if there is a phone registered but I press the ignore button at the > calling end the phone still rings and after a while is disconnected > 3. if there is a phone registered but I don't answer and let it go > to voice > mail , instead of going to voicemail the call is disconnected. > > in the users>domains>domain.com > object> user >real-time > incoming > call > rules I have: check After 15 sec, check On Busy and check On Error, > un-checked Divert Calls. > > what is wrong? --Boundary_(ID_S7dTxWQRowAbz0bj1Gc/tA) Content-type: text/html; charset=us-ascii Content-transfer-encoding: quoted-printable Looks like you never received a response to = this.

Usually, your incoming calls are handled by a = back to back user agent (B2BUA) via the router table.  Each account = has its DIDs registered as a telephone number against = it.

Something like this (North = America):

S:<*@voip.protocolis.com> =3D = gatewayincoming{+*}#pbx
+*@voip.protocolis.com> =3D = gatewayincoming{+*}#pbx

Then the call is ro= uted via standard rules such as:

Use telnum and e164 S:<+*> =3D +*@telnum S:telnum =3D pstn

This simply matches = the number and sends it to the internal telnum lookup mechanism and maps = it to the account with that phone number and routes the = call.

For the PBX auto attendant, you would = usually simply redirect the call to '#pbx' which tells it to start the = PBX script.   Same thing for = voicemail.

The issue that you could be having = is that, because you are not using a B2BUA, CGP 'reInvites' the call to = go to a different extension and many gateways do not allow this. =  With the B2BUA, the call is only routed once from the external = gateway = perspective.

Karl


On 2009-06-25, at 2:55 PM, Lightology Postmaster = wrote:

Hello Support and CGP = community,
 
I = have a hard time setting up the voicemail and the auto attendant and = maybe someone here can point me in the right = direction.
 
The = symptom is the I can't get an incoming call coming through a SIP = gateway to go to the PBX auto attendant or to a voice mail, the = auto attendant(calling ext. 200) and voice mail work if calling = from an internal extension, but not from outside. The gateway works = properly for incoming and outgoing calls and the CGP router has the = default configurations. 
 
Voice mail issue:
in = settings>real-time>sip>gateway I set up "contact: " to be an = email 
address of = one of the users not the pbx, so the calls coming through form 
that particular gateway = should go directly to the users I specified.
1. if there is no phone = registered for the user the call is getting immediately 
disconnected
2. if = there is a phone registered but I press the ignore button at the 
calling end the phone = still rings and after a while is disconnected
3. if there is a phone = registered but I don't answer and let it go to voice 
mail , instead of going = to voicemail the call is disconnected.

in the = users>domains>domain.com > object> user >real-time > = incoming call 
rules = I have: check After 15 sec, check On Busy and check On Error, 
un-checked Divert = Calls.

what is = wrong?

= --Boundary_(ID_S7dTxWQRowAbz0bj1Gc/tA)--