Re: [asterisk-users] SIP Incoming / Inbound not working for Broadvoice (Asterisk PBX 1.6.1.6)

2010-01-01 Thread Doug
At 18:36 12/31/2009, Qurba Joog wrote:
Thanks for the reply Doug. Do you mean I should add nat=yes on my 
nat'd extensions?

Affirmative.




On Wed, Dec 30, 2009 at 10:57 PM, Doug 
mailto:d...@natel.netd...@natel.net wrote:
At 18:22 12/30/2009, Qurba Joog wrote:
You are correct.. I had the correct context on my current production 
configuration I just copied from an older saved file.. So the 
[enterbroadvoice] has a context of incoming and incoming is defined 
in the extensions.con. But still have the same problem with incoming 
jumping directly into Broadvoice VM. I even changed it to IAX2 extension.

Any help would be appreciated


I don't this for any of your peers:

nat=yes





On Fri, Dec 25, 2009 at 10:43 AM, Qurba Joog 
mailto:qurbaj...@gmail.commailto:qurbaj...@gmail.comqurbaj...@gmail.com 
wrote:
Thanks very much for your reply Nguyen. I read and re-read the url 
you sent.. Sorry I'm new to this but are you saying the [incoming] 
context is wrong? Please indicate what is wrong.

If you look at the SIP.conf [enter_broadvoice] I have [incoming] 
context defined and that is the one I have called out in the extensions.conf

Thanks.


On Fri, Dec 25, 2009 at 5:20 AM, Nguyen Quang Tri 
http://kihote.amhttp://kihote.amhttp://kihote.amkihote.am@http://gmail.comhttp://gmail.comhttp://gmail.comgmail.com
 
wrote:
Wrong context for incoming,
you can read
http://www.voip-info.org/wiki/view/Asterisk+config+sip.confhttp://www.voip-info.org/wiki/view/Asterisk+config+sip.confhttp://www.voip-info.org/wiki/view/Asterisk+config+sip.conf
and
http://www.voip-info.org/wiki/view/IPKallhttp://www.voip-info.org/wiki/view/IPKallhttp://www.voip-info.org/wiki/view/IPKall

2009/12/25 --[ UxBoD ]-- 
mailto:ux...@splatnix.netmailto:ux...@splatnix.netux...@splatnix.net

- Qurba Joog 
mailto:qurbaj...@gmail.commailto:qurbaj...@gmail.comqurbaj...@gmail.com 
wrote:
| Hello,
|
| Please forgive me if I'm repeating this post. I have searched and 
looked for similar problem with a solution but have not see a similar one.
|
| My outgoing SIP and other channels work fine but the 
incoming/inbound SIP call goes straight to Broadvoice voicemail. I 
see that Broadvoice is registered when I look at the SIP registry. I 
have turned on SIP Debug and it is below.
|
| Anyone know why even when SIP has registered I do not see incoming calls?
|
| Thanks,
|
|
| --extensions.conf
| [global]
|
| [general]
| bindport=5060
| bindaddr = 0.0.0.0
| deny=http://0.0.0.0/0.0.0.0http://0.0.0.0/0.0.0.0MailScanner 
has detected a possible fraud attempt from 0.0.0.0 claiming to be 
MailScanner warning: numerical links are often 
malicious:http://0.0.0.0/0.0.0.0http://0.0.0.0/0.0.0.0 
http://0.0.0.0/0.0.0.00.0.0.0/0.0.0.0
| 
externhost=http://xyz.dyndns.orghttp://xyz.dyndns.orghttp://xyz.dyndns.orgxyz.dyndns.org
| localnet = 
http://192.168.1.0/255.255.255.0http://192.168.1.0/255.255.255.0MailScanner
 
has detected a possible fraud attempt from 192.168.1.0 claiming to 
be MailScanner warning: numerical links are often 
malicious:http://192.168.1.0/255.255.255.0http://192.168.1.0/255.255.255.0 
http://192.168.1.0/255.255.255.0192.168.1.0/255.255.255.0


| disallow=all
| allow=ulaw
| allow=gsm
| delayreject=yes
| nochecksums=no
| allowguest=no
| delayreject=yes
| pedantic=no
|
| register = 
703xxxy...@sip.broadvoice.com:shttp://ecurepassword:703xxxy...@sip.broadvoice.com/5000http://ecurepassword:703xxxy...@sip.broadvoice.com/5000http://ecurepassword:703xxxy...@sip.broadvoice.com/5000ecurepassword:703xxxy...@sip.broadvoice.com/5000

|
| [5000]
| type=friend
| context=internal-phones
| secret=xxx
| qualify=yes
| host=dynamic ; behind nat
| dtmfmode=rfc2833
|
| [5002]
| type=friend
| context=internal-phones
| secret=test
| qualify=yes
| host=dynamic ; behind nat
| nat=yes
| dtmfmode=rfc2833
|
| [enter_broadvoice]
| type=peer
| user=phone
| 
host=http://sip.broadvoice.comhttp://sip.broadvoice.comhttp://sip.broadvoice.comsip.broadvoice.com
| 
fromdomain=http://sip.broadvoice.comhttp://sip.broadvoice.comhttp://sip.broadvoice.comsip.broadvoice.com

| fromuser=703XXX
| secret=securepassword
| username=703XXX
| insecure=very
| ;insecure=port,invite
| context=incoming
| authname=703XXX
| dtmfmode=inband
| dtmf=inband
| ;Disable canreinvite if you are behind a NAT
|
| canreinvite=no
|
| extensions.conf
|
| [globals]
|
| [general]
|
| autofallthrough=yes
|
|
| [incoming_calls]
|
| exten = 1703XXX,1,Dial(SIP/5000)
|
| [internal-phones]
|
| include = outgoing
| exten = 5000,1,Dial(SIP/5000,20)
| exten = 5002,1,Dial(SIP/5002,20)
|
|
| [outgoing]
|
| exten = _X.,1,NoOp()
| exten = _X.,n,Dial(SIP/enter_broadvoice/${EXTEN})
|
| SIP Registry--
| -*CLI sip show registry
| Host   dnsmgr Username   Refresh 
StateReg.Time
| 
http://sip.broadvoice.com:5060http://sip.broadvoice.com:5060http://sip.broadvoice.com:5060sip.broadvoice.com:5060
 
N  703xxxy...@s   

Re: [asterisk-users] SIP Incoming / Inbound not working for Broadvoice (Asterisk PBX 1.6.1.6)

2009-12-30 Thread Qurba Joog
You are correct.. I had the correct context on my current production
configuration I just copied from an older saved file.. So the
[enterbroadvoice] has a context of incoming and incoming is defined in the
extensions.con. But still have the same problem with incoming jumping
directly into Broadvoice VM. I even changed it to IAX2 extension.

Any help would be appreciated


On Fri, Dec 25, 2009 at 10:43 AM, Qurba Joog qurbaj...@gmail.com wrote:

 Thanks very much for your reply Nguyen. I read and re-read the url you
 sent.. Sorry I'm new to this but are you saying the [incoming] context is
 wrong? Please indicate what is wrong.

 If you look at the SIP.conf [enter_broadvoice] I have [incoming] context
 defined and that is the one I have called out in the extensions.conf

 Thanks.


 On Fri, Dec 25, 2009 at 5:20 AM, Nguyen Quang Tri kihote...@gmail.comwrote:

 Wrong context for incoming,
 you can read
 http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf
 and
 http://www.voip-info.org/wiki/view/IPKall

 2009/12/25 --[ UxBoD ]-- ux...@splatnix.net

  - Qurba Joog qurbaj...@gmail.com wrote:
 | Hello,
 |
 | Please forgive me if I'm repeating this post. I have searched and
 looked for similar problem with a solution but have not see a similar one.
 |
 | My outgoing SIP and other channels work fine but the incoming/inbound
 SIP call goes straight to Broadvoice voicemail. I see that Broadvoice is
 registered when I look at the SIP registry. I have turned on SIP Debug and
 it is below.
 |
 | Anyone know why even when SIP has registered I do not see incoming
 calls?
 |
 | Thanks,
 |
 |
 | --extensions.conf
 | [global]
 |
 | [general]
 | bindport=5060
 | bindaddr = 0.0.0.0
 | deny=*MailScanner has detected a possible fraud attempt from 0.0.0.0
 claiming to be* *MailScanner warning: numerical links are often
 malicious:* 0.0.0.0/0.0.0.0 http://0.0.0.0/0.0.0.0
 | externhost=xyz.dyndns.org
 | localnet = *MailScanner has detected a possible fraud attempt from
 192.168.1.0 claiming to be* *MailScanner warning: numerical links are
 often malicious:* 
 192.168.1.0/255.255.255.0http://192.168.1.0/255.255.255.0

 | disallow=all
 | allow=ulaw
 | allow=gsm
 | delayreject=yes
 | nochecksums=no
 | allowguest=no
 | delayreject=yes
 | pedantic=no
 |
 | register = 703xxxy...@sip.broadvoice.com:s
 ecurepassword:703xxxy...@sip.broadvoice.com/5000
 |
 | [5000]
 | type=friend
 | context=internal-phones
 | secret=xxx
 | qualify=yes
 | host=dynamic ; behind nat
 | dtmfmode=rfc2833
 |
 | [5002]
 | type=friend
 | context=internal-phones
 | secret=test
 | qualify=yes
 | host=dynamic ; behind nat
 | nat=yes
 | dtmfmode=rfc2833
 |
 | [enter_broadvoice]
 | type=peer
 | user=phone
 | host=sip.broadvoice.com
 | fromdomain=sip.broadvoice.com
 | fromuser=703XXX
 | secret=securepassword
 | username=703XXX
 | insecure=very
 | ;insecure=port,invite
 | context=incoming
 | authname=703XXX
 | dtmfmode=inband
 | dtmf=inband
 | ;Disable canreinvite if you are behind a NAT
 |
 | canreinvite=no
 |
 | extensions.conf
 |
 | [globals]
 |
 | [general]
 |
 | autofallthrough=yes
 |
 |
 | [incoming_calls]
 |
 | exten = 1703XXX,1,Dial(SIP/5000)
 |
 | [internal-phones]
 |
 | include = outgoing
 | exten = 5000,1,Dial(SIP/5000,20)
 | exten = 5002,1,Dial(SIP/5002,20)
 |
 |
 | [outgoing]
 |
 | exten = _X.,1,NoOp()
 | exten = _X.,n,Dial(SIP/enter_broadvoice/${EXTEN})
 |
 | SIP Registry--
 | -*CLI sip show registry
 | Host   dnsmgr Username   Refresh
 StateReg.Time
 | sip.broadvoice.com:5060N  703xxxy...@s23
 Registered   Fri, 25 Dec 2009 01:14:03
 |
 | SIP Debug--
 | -*CLI
 | REGISTER 11 headers, 0 lines
 | Reliably Transmitting (no NAT) to *MailScanner has detected a possible
 fraud attempt from 147.135.32.226:5060 claiming to be* *MailScanner
 warning: numerical links are often malicious:* 
 147.135.32.226:5060http://147.135.32.226:5060
 :

 | REGISTER sip:sip.broadvoice.com SIP/2.0
 | Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8;rport
 | Max-Forwards: 70
 | From: 
 sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 ;tag=as376e46ae
 | To: 
 sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 
 | Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51
 | CSeq: 147 REGISTER
 | User-Agent: Asterisk PBX 1.6.1.6
 | Expires: 120
 | Contact: sip:5...@68.100.65.3 sip%3a5...@68.100.65.3
 | Content-Length: 0
 |
 |
 | ---
 | Really destroying SIP dialog '
 65a8d48738a00d121fc9050e4771d...@192.168.1.51' Method: REGISTER
 | Suuban*CLI
 | --- SIP read from UDP://*MailScanner has detected a possible fraud
 attempt from 147.135.32.225:5060 claiming to be* *MailScanner warning:
 numerical links are often malicious:* 
 147.135.32.225:5060http://147.135.32.225:5060---

 | SIP/2.0 200 OK
 | Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51
 | CSeq: 147 

Re: [asterisk-users] SIP Incoming / Inbound not working for Broadvoice (Asterisk PBX 1.6.1.6)

2009-12-30 Thread Doug
At 18:22 12/30/2009, Qurba Joog wrote:
You are correct.. I had the correct context on my current production 
configuration I just copied from an older saved file.. So the 
[enterbroadvoice] has a context of incoming and incoming is defined 
in the extensions.con. But still have the same problem with incoming 
jumping directly into Broadvoice VM. I even changed it to IAX2 extension.

Any help would be appreciated

I don't this for any of your peers:

nat=yes





On Fri, Dec 25, 2009 at 10:43 AM, Qurba Joog 
mailto:qurbaj...@gmail.comqurbaj...@gmail.com wrote:
Thanks very much for your reply Nguyen. I read and re-read the url 
you sent.. Sorry I'm new to this but are you saying the [incoming] 
context is wrong? Please indicate what is wrong.

If you look at the SIP.conf [enter_broadvoice] I have [incoming] 
context defined and that is the one I have called out in the extensions.conf

Thanks.


On Fri, Dec 25, 2009 at 5:20 AM, Nguyen Quang Tri 
http://kihote.amkihote.am@http://gmail.comgmail.com wrote:
Wrong context for incoming,
you can read
http://www.voip-info.org/wiki/view/Asterisk+config+sip.confhttp://www.voip-info.org/wiki/view/Asterisk+config+sip.conf
and
http://www.voip-info.org/wiki/view/IPKallhttp://www.voip-info.org/wiki/view/IPKall

2009/12/25 --[ UxBoD ]-- mailto:ux...@splatnix.netux...@splatnix.net
- Qurba Joog mailto:qurbaj...@gmail.comqurbaj...@gmail.com wrote:
| Hello,
|
| Please forgive me if I'm repeating this post. I have searched and 
looked for similar problem with a solution but have not see a similar one.
|
| My outgoing SIP and other channels work fine but the 
incoming/inbound SIP call goes straight to Broadvoice voicemail. I 
see that Broadvoice is registered when I look at the SIP registry. I 
have turned on SIP Debug and it is below.
|
| Anyone know why even when SIP has registered I do not see incoming calls?
|
| Thanks,
|
|
| --extensions.conf
| [global]
|
| [general]
| bindport=5060
| bindaddr = 0.0.0.0
| deny=http://0.0.0.0/0.0.0.0MailScanner has detected a possible 
fraud attempt from 0.0.0.0 claiming to be MailScanner warning: 
numerical links are often malicious:http://0.0.0.0/0.0.0.0 0.0.0.0/0.0.0.0
| externhost=http://xyz.dyndns.orgxyz.dyndns.org
| localnet = http://192.168.1.0/255.255.255.0MailScanner has 
detected a possible fraud attempt from 192.168.1.0 claiming to be 
MailScanner warning: numerical links are often 
malicious:http://192.168.1.0/255.255.255.0 192.168.1.0/255.255.255.0

| disallow=all
| allow=ulaw
| allow=gsm
| delayreject=yes
| nochecksums=no
| allowguest=no
| delayreject=yes
| pedantic=no
|
| register = 
703xxxy...@sip.broadvoice.com:shttp://ecurepassword:703xxxy...@sip.broadvoice.com/5000ecurepassword:703xxxy...@sip.broadvoice.com/5000
|
| [5000]
| type=friend
| context=internal-phones
| secret=xxx
| qualify=yes
| host=dynamic ; behind nat
| dtmfmode=rfc2833
|
| [5002]
| type=friend
| context=internal-phones
| secret=test
| qualify=yes
| host=dynamic ; behind nat
| nat=yes
| dtmfmode=rfc2833
|
| [enter_broadvoice]
| type=peer
| user=phone
| host=http://sip.broadvoice.comsip.broadvoice.com
| fromdomain=http://sip.broadvoice.comsip.broadvoice.com
| fromuser=703XXX
| secret=securepassword
| username=703XXX
| insecure=very
| ;insecure=port,invite
| context=incoming
| authname=703XXX
| dtmfmode=inband
| dtmf=inband
| ;Disable canreinvite if you are behind a NAT
|
| canreinvite=no
|
| extensions.conf
|
| [globals]
|
| [general]
|
| autofallthrough=yes
|
|
| [incoming_calls]
|
| exten = 1703XXX,1,Dial(SIP/5000)
|
| [internal-phones]
|
| include = outgoing
| exten = 5000,1,Dial(SIP/5000,20)
| exten = 5002,1,Dial(SIP/5002,20)
|
|
| [outgoing]
|
| exten = _X.,1,NoOp()
| exten = _X.,n,Dial(SIP/enter_broadvoice/${EXTEN})
|
| SIP Registry--
| -*CLI sip show registry
| Host   dnsmgr Username   Refresh 
StateReg.Time
| 
http://sip.broadvoice.com:5060sip.broadvoice.com:5060N 
  703xxxy...@s23 Registered   Fri, 25 Dec 2009 01:14:03
|
| SIP Debug--
| -*CLI
| REGISTER 11 headers, 0 lines
| Reliably Transmitting (no NAT) to 
http://147.135.32.226:5060MailScanner has detected a possible 
fraud attempt from 147.135.32.226:5060 claiming to be MailScanner 
warning: numerical links are often 
malicious:http://147.135.32.226:5060 147.135.32.226:5060:

| REGISTER sip:http://sip.broadvoice.comsip.broadvoice.com SIP/2.0
| Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8;rport
| Max-Forwards: 70
| From: 
mailto:sip%3a703xxxy...@sip.broadvoice.comsip:703xxxy...@sip.broadvoice.com;tag=as376e46ae
| To: 
mailto:sip%3a703xxxy...@sip.broadvoice.comsip:703xxxy...@sip.broadvoice.com
| Call-ID: 
mailto:65a8d48738a00d121fc9050e4771d...@192.168.1.5165a8d48738a00d121fc9050e4771d...@192.168.1.51
| CSeq: 147 REGISTER
| User-Agent: Asterisk PBX 1.6.1.6
| Expires: 120
| Contact: 

Re: [asterisk-users] SIP Incoming / Inbound not working for Broadvoice (Asterisk PBX 1.6.1.6)

2009-12-25 Thread Nguyen Quang Tri
Wrong context for incoming,
you can read
http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf
and
http://www.voip-info.org/wiki/view/IPKall

2009/12/25 --[ UxBoD ]-- ux...@splatnix.net

 - Qurba Joog qurbaj...@gmail.com wrote:
 | Hello,
 |
 | Please forgive me if I'm repeating this post. I have searched and looked
 for similar problem with a solution but have not see a similar one.
 |
 | My outgoing SIP and other channels work fine but the incoming/inbound SIP
 call goes straight to Broadvoice voicemail. I see that Broadvoice is
 registered when I look at the SIP registry. I have turned on SIP Debug and
 it is below.
 |
 | Anyone know why even when SIP has registered I do not see incoming calls?
 |
 | Thanks,
 |
 |
 | --extensions.conf
 | [global]
 |
 | [general]
 | bindport=5060
 | bindaddr = 0.0.0.0
 | deny=*MailScanner has detected a possible fraud attempt from 0.0.0.0
 claiming to be* *MailScanner warning: numerical links are often malicious:
 * 0.0.0.0/0.0.0.0 http://0.0.0.0/0.0.0.0
 | externhost=xyz.dyndns.org
 | localnet = *MailScanner has detected a possible fraud attempt from
 192.168.1.0 claiming to be* *MailScanner warning: numerical links are
 often malicious:* 192.168.1.0/255.255.255.0http://192.168.1.0/255.255.255.0

 | disallow=all
 | allow=ulaw
 | allow=gsm
 | delayreject=yes
 | nochecksums=no
 | allowguest=no
 | delayreject=yes
 | pedantic=no
 |
 | register = 703xxxy...@sip.broadvoice.com:s
 ecurepassword:703xxxy...@sip.broadvoice.com/5000
 |
 | [5000]
 | type=friend
 | context=internal-phones
 | secret=xxx
 | qualify=yes
 | host=dynamic ; behind nat
 | dtmfmode=rfc2833
 |
 | [5002]
 | type=friend
 | context=internal-phones
 | secret=test
 | qualify=yes
 | host=dynamic ; behind nat
 | nat=yes
 | dtmfmode=rfc2833
 |
 | [enter_broadvoice]
 | type=peer
 | user=phone
 | host=sip.broadvoice.com
 | fromdomain=sip.broadvoice.com
 | fromuser=703XXX
 | secret=securepassword
 | username=703XXX
 | insecure=very
 | ;insecure=port,invite
 | context=incoming
 | authname=703XXX
 | dtmfmode=inband
 | dtmf=inband
 | ;Disable canreinvite if you are behind a NAT
 |
 | canreinvite=no
 |
 | extensions.conf
 |
 | [globals]
 |
 | [general]
 |
 | autofallthrough=yes
 |
 |
 | [incoming_calls]
 |
 | exten = 1703XXX,1,Dial(SIP/5000)
 |
 | [internal-phones]
 |
 | include = outgoing
 | exten = 5000,1,Dial(SIP/5000,20)
 | exten = 5002,1,Dial(SIP/5002,20)
 |
 |
 | [outgoing]
 |
 | exten = _X.,1,NoOp()
 | exten = _X.,n,Dial(SIP/enter_broadvoice/${EXTEN})
 |
 | SIP Registry--
 | -*CLI sip show registry
 | Host   dnsmgr Username   Refresh
 StateReg.Time
 | sip.broadvoice.com:5060N  703xxxy...@s23
 Registered   Fri, 25 Dec 2009 01:14:03
 |
 | SIP Debug--
 | -*CLI
 | REGISTER 11 headers, 0 lines
 | Reliably Transmitting (no NAT) to *MailScanner has detected a possible
 fraud attempt from 147.135.32.226:5060 claiming to be* *MailScanner
 warning: numerical links are often malicious:* 
 147.135.32.226:5060http://147.135.32.226:5060
 :

 | REGISTER sip:sip.broadvoice.com SIP/2.0
 | Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8;rport
 | Max-Forwards: 70
 | From: 
 sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 ;tag=as376e46ae
 | To: sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 
 | Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51
 | CSeq: 147 REGISTER
 | User-Agent: Asterisk PBX 1.6.1.6
 | Expires: 120
 | Contact: sip:5...@68.100.65.3 sip%3a5...@68.100.65.3
 | Content-Length: 0
 |
 |
 | ---
 | Really destroying SIP dialog '
 65a8d48738a00d121fc9050e4771d...@192.168.1.51' Method: REGISTER
 | Suuban*CLI
 | --- SIP read from UDP://*MailScanner has detected a possible fraud
 attempt from 147.135.32.225:5060 claiming to be* *MailScanner warning:
 numerical links are often malicious:* 
 147.135.32.225:5060http://147.135.32.225:5060---

 | SIP/2.0 200 OK
 | Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51
 | CSeq: 147 REGISTER
 | From: 
 sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 ;tag=as376e46ae
 | To: sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 
 | Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8
 | Contact: sip:5...@68.100.66.3 sip%3a5...@68.100.66.3
 | Expires: 30
 | Content-Length:0
 |
 |
 | -
 | --- (9 headers 0 lines) ---
 | Scheduling destruction of SIP dialog '
 65a8d48738a00d121fc9050e4771d...@192.168.1.51' in 32000 ms (Method:
 REGISTER)
 | [Dec 25 00:42:31] NOTICE[2898]: chan_sip.c:16740
 handle_response_register: Outbound Registration: Expiry for
 sip.broadvoice.com is 30 sec (Scheduling reregistration in 23 s)
 |
 |
 | REGISTER 11 headers, 0 lines
 | Reliably Transmitting (no NAT) to *MailScanner has detected a possible
 fraud attempt from 147.135.32.226:5060 claiming to be* *MailScanner
 warning: 

Re: [asterisk-users] SIP Incoming / Inbound not working for Broadvoice (Asterisk PBX 1.6.1.6)

2009-12-25 Thread Qurba Joog
Thanks very much for your reply Nguyen. I read and re-read the url you
sent.. Sorry I'm new to this but are you saying the [incoming] context is
wrong? Please indicate what is wrong.

If you look at the SIP.conf [enter_broadvoice] I have [incoming] context
defined and that is the one I have called out in the extensions.conf

Thanks.

On Fri, Dec 25, 2009 at 5:20 AM, Nguyen Quang Tri kihote...@gmail.comwrote:

 Wrong context for incoming,
 you can read
 http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf
 and
 http://www.voip-info.org/wiki/view/IPKall

 2009/12/25 --[ UxBoD ]-- ux...@splatnix.net

 - Qurba Joog qurbaj...@gmail.com wrote:
 | Hello,
 |
 | Please forgive me if I'm repeating this post. I have searched and looked
 for similar problem with a solution but have not see a similar one.
 |
 | My outgoing SIP and other channels work fine but the incoming/inbound
 SIP call goes straight to Broadvoice voicemail. I see that Broadvoice is
 registered when I look at the SIP registry. I have turned on SIP Debug and
 it is below.
 |
 | Anyone know why even when SIP has registered I do not see incoming
 calls?
 |
 | Thanks,
 |
 |
 | --extensions.conf
 | [global]
 |
 | [general]
 | bindport=5060
 | bindaddr = 0.0.0.0
 | deny=*MailScanner has detected a possible fraud attempt from 0.0.0.0
 claiming to be* *MailScanner warning: numerical links are often
 malicious:* 0.0.0.0/0.0.0.0 http://0.0.0.0/0.0.0.0
 | externhost=xyz.dyndns.org
 | localnet = *MailScanner has detected a possible fraud attempt from
 192.168.1.0 claiming to be* *MailScanner warning: numerical links are
 often malicious:* 192.168.1.0/255.255.255.0http://192.168.1.0/255.255.255.0

 | disallow=all
 | allow=ulaw
 | allow=gsm
 | delayreject=yes
 | nochecksums=no
 | allowguest=no
 | delayreject=yes
 | pedantic=no
 |
 | register = 703xxxy...@sip.broadvoice.com:s
 ecurepassword:703xxxy...@sip.broadvoice.com/5000
 |
 | [5000]
 | type=friend
 | context=internal-phones
 | secret=xxx
 | qualify=yes
 | host=dynamic ; behind nat
 | dtmfmode=rfc2833
 |
 | [5002]
 | type=friend
 | context=internal-phones
 | secret=test
 | qualify=yes
 | host=dynamic ; behind nat
 | nat=yes
 | dtmfmode=rfc2833
 |
 | [enter_broadvoice]
 | type=peer
 | user=phone
 | host=sip.broadvoice.com
 | fromdomain=sip.broadvoice.com
 | fromuser=703XXX
 | secret=securepassword
 | username=703XXX
 | insecure=very
 | ;insecure=port,invite
 | context=incoming
 | authname=703XXX
 | dtmfmode=inband
 | dtmf=inband
 | ;Disable canreinvite if you are behind a NAT
 |
 | canreinvite=no
 |
 | extensions.conf
 |
 | [globals]
 |
 | [general]
 |
 | autofallthrough=yes
 |
 |
 | [incoming_calls]
 |
 | exten = 1703XXX,1,Dial(SIP/5000)
 |
 | [internal-phones]
 |
 | include = outgoing
 | exten = 5000,1,Dial(SIP/5000,20)
 | exten = 5002,1,Dial(SIP/5002,20)
 |
 |
 | [outgoing]
 |
 | exten = _X.,1,NoOp()
 | exten = _X.,n,Dial(SIP/enter_broadvoice/${EXTEN})
 |
 | SIP Registry--
 | -*CLI sip show registry
 | Host   dnsmgr Username   Refresh
 StateReg.Time
 | sip.broadvoice.com:5060N  703xxxy...@s23
 Registered   Fri, 25 Dec 2009 01:14:03
 |
 | SIP Debug--
 | -*CLI
 | REGISTER 11 headers, 0 lines
 | Reliably Transmitting (no NAT) to *MailScanner has detected a possible
 fraud attempt from 147.135.32.226:5060 claiming to be* *MailScanner
 warning: numerical links are often malicious:* 
 147.135.32.226:5060http://147.135.32.226:5060
 :

 | REGISTER sip:sip.broadvoice.com SIP/2.0
 | Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8;rport
 | Max-Forwards: 70
 | From: 
 sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 ;tag=as376e46ae
 | To: sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 
 | Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51
 | CSeq: 147 REGISTER
 | User-Agent: Asterisk PBX 1.6.1.6
 | Expires: 120
 | Contact: sip:5...@68.100.65.3 sip%3a5...@68.100.65.3
 | Content-Length: 0
 |
 |
 | ---
 | Really destroying SIP dialog '
 65a8d48738a00d121fc9050e4771d...@192.168.1.51' Method: REGISTER
 | Suuban*CLI
 | --- SIP read from UDP://*MailScanner has detected a possible fraud
 attempt from 147.135.32.225:5060 claiming to be* *MailScanner warning:
 numerical links are often malicious:* 
 147.135.32.225:5060http://147.135.32.225:5060---

 | SIP/2.0 200 OK
 | Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51
 | CSeq: 147 REGISTER
 | From: 
 sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 ;tag=as376e46ae
 | To: sip:703xxxy...@sip.broadvoice.comsip%3a703xxxy...@sip.broadvoice.com
 
 | Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8
 | Contact: sip:5...@68.100.66.3 sip%3a5...@68.100.66.3
 | Expires: 30
 | Content-Length:0
 |
 |
 | -
 | --- (9 headers 0 lines) ---
 | Scheduling destruction of SIP dialog '
 

Re: [asterisk-users] SIP Incoming / Inbound not working for Broadvoice (Asterisk PBX 1.6.1.6)

2009-12-24 Thread --[ UxBoD ]--
- Qurba Joog qurbaj...@gmail.com wrote: 
| Hello, 
| 
| Please forgive me if I'm repeating this post. I have searched and looked for 
similar problem with a solution but have not see a similar one. 
| 
| My outgoing SIP and other channels work fine but the incoming/inbound SIP 
call goes straight to Broadvoice voicemail. I see that Broadvoice is registered 
when I look at the SIP registry. I have turned on SIP Debug and it is below. 
| 
| Anyone know why even when SIP has registered I do not see incoming calls? 
| 
| Thanks, 
| 
| 
| --extensions.conf 
| [global] 
| 
| [general] 
| bindport=5060 
| bindaddr = 0.0.0.0 
| deny= MailScanner warning: numerical links are often malicious: 
0.0.0.0/0.0.0.0 
| externhost= xyz.dyndns.org 
| localnet = MailScanner warning: numerical links are often malicious: 
192.168.1.0/255.255.255.0 
| disallow=all 
| allow=ulaw 
| allow=gsm 
| delayreject=yes 
| nochecksums=no 
| allowguest=no 
| delayreject=yes 
| pedantic=no 
| 
| register = 703xxxy...@sip.broadvoice.com:s 
ecurepassword:703xxxy...@sip.broadvoice.com/5000 
| 
| [5000] 
| type=friend 
| context=internal-phones 
| secret=xxx 
| qualify=yes 
| host=dynamic ; behind nat 
| dtmfmode=rfc2833 
| 
| [5002] 
| type=friend 
| context=internal-phones 
| secret=test 
| qualify=yes 
| host=dynamic ; behind nat 
| nat=yes 
| dtmfmode=rfc2833 
| 
| [enter_broadvoice] 
| type=peer 
| user=phone 
| host= sip.broadvoice.com 
| fromdomain= sip.broadvoice.com 
| fromuser=703XXX 
| secret=securepassword 
| username=703XXX 
| insecure=very 
| ;insecure=port,invite 
| context=incoming 
| authname=703XXX 
| dtmfmode=inband 
| dtmf=inband 
| ;Disable canreinvite if you are behind a NAT 
| 
| canreinvite=no 
| 
| extensions.conf 
| 
| [globals] 
| 
| [general] 
| 
| autofallthrough=yes 
| 
| 
| [incoming_calls] 
| 
| exten = 1703XXX,1,Dial(SIP/5000) 
| 
| [internal-phones] 
| 
| include = outgoing 
| exten = 5000,1,Dial(SIP/5000,20) 
| exten = 5002,1,Dial(SIP/5002,20) 
| 
| 
| [outgoing] 
| 
| exten = _X.,1,NoOp() 
| exten = _X.,n,Dial(SIP/enter_broadvoice/${EXTEN}) 
| 
| SIP Registry-- 
| -*CLI sip show registry 
| Host dnsmgr Username Refresh State Reg.Time 
| sip.broadvoice.com:5060 N 703xxxy...@s 23 Registered Fri, 25 Dec 2009 
01:14:03 
| 
| SIP Debug-- 
| -*CLI 
| REGISTER 11 headers, 0 lines 
| Reliably Transmitting (no NAT) to MailScanner warning: numerical links are 
often malicious: 147.135.32.226:5060 : 
| REGISTER sip: sip.broadvoice.com SIP/2.0 
| Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8;rport 
| Max-Forwards: 70 
| From:  sip:703xxxy...@sip.broadvoice.com ;tag=as376e46ae 
| To:  sip:703xxxy...@sip.broadvoice.com  
| Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51 
| CSeq: 147 REGISTER 
| User-Agent: Asterisk PBX 1.6.1.6 
| Expires: 120 
| Contact:  sip:5...@68.100.65.3  
| Content-Length: 0 
| 
| 
| --- 
| Really destroying SIP dialog ' 65a8d48738a00d121fc9050e4771d...@192.168.1.51 
' Method: REGISTER 
| Suuban*CLI 
| --- SIP read from UDP:// MailScanner warning: numerical links are often 
malicious: 147.135.32.225:5060 --- 
| SIP/2.0 200 OK 
| Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51 
| CSeq: 147 REGISTER 
| From:  sip:703xxxy...@sip.broadvoice.com ;tag=as376e46ae 
| To:  sip:703xxxy...@sip.broadvoice.com  
| Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8 
| Contact:  sip:5...@68.100.66.3  
| Expires: 30 
| Content-Length: 0 
| 
| 
| - 
| --- (9 headers 0 lines) --- 
| Scheduling destruction of SIP dialog ' 
65a8d48738a00d121fc9050e4771d...@192.168.1.51 ' in 32000 ms (Method: REGISTER) 
| [Dec 25 00:42:31] NOTICE[2898]: chan_sip.c:16740 handle_response_register: 
Outbound Registration: Expiry for sip.broadvoice.com is 30 sec (Scheduling 
reregistration in 23 s) 
| 
| 
| REGISTER 11 headers, 0 lines 
| Reliably Transmitting (no NAT) to MailScanner warning: numerical links are 
often malicious: 147.135.32.226:5060 : 
| REGISTER sip: sip.broadvoice.com SIP/2.0 
| Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK35a02655;rport 
| Max-Forwards: 70 
| From:  sip:703xxxy...@sip.broadvoice.com ;tag=as54c6327a 
| To:  sip:703xxxy...@sip.broadvoice.com  
| Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51 
| CSeq: 148 REGISTER 
| User-Agent: Asterisk PBX 1.6.1.6 
| Expires: 120 
| Contact:  sip:5...@68.100.66.3  
| Content-Length: 0 
| --- 
| Really destroying SIP dialog ' 65a8d48738a00d121fc9050e4771d...@192.168.1.51 
' Method: REGISTER 
| Suuban*CLI 
| --- SIP read from UDP:// MailScanner warning: numerical links are often 
malicious: 147.135.32.226:5060 --- 
| SIP/2.0 200 OK 
| Call-ID: 65a8d48738a00d121fc9050e4771d...@192.168.1.51 
| CSeq: 148 REGISTER 
| From:  sip:703xxxy...@sip.broadvoice.com ;tag=as54c6327a 
| To:  sip:703xxxy...@sip.broadvoice.com  
| Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK35a02655 
| Contact:  sip:5...@68.100.66.3  
| Expires: 30