[size=150]I have a SIP account & DID with my VoIP provider. The outgoing calls works fine, but incoming calls to the DID is not. When I call my DID from any external phones, I get my Telephone company saying “The number you are calling in not in service” recording.
9XXXXXX108373 is my DID number.[/size]
The Asterisk log shows:
<— Reliably Transmitting (NAT) to 94.77.210.150:5060 —>
[color=#FF4000]SIP/2.0 404 Not Found[/color]
Via: SIP/2.0/UDP 94.77.210.150:5060;branch=z9hG4bK365282-kmbdztn;cgp=terhal.go.com.sa;received=94.77.210.150;rport=5060
Via: SIP/2.0/UDP 94.77.211.66:5060;branch=z9hG4bK8a1b34e9b2fcfd08e114taN0
From: “0XXXX42334” tel:0XXXX42334;tag=ac1a2090-00007d2c000067cc
To: “+9XXXXXX108373” tel:+9XXXXXX108373;tag=as6fb50931
Call-ID: 00002bbd00005b00-0203-0049@172.26.32.144
CSeq: 31601 INVITE
Server: Asterisk Default
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
<------------>
[color=#FF4000][Aug 1 14:57:37] NOTICE[4060] chan_sip.c: Call from ‘9XXXXXX108373’ to extension ‘s’ rejected because extension not found in context ‘GOterhalContext’.[/color]
[Aug 1 14:57:37] VERBOSE[4060] chan_sip.c: Scheduling destruction of SIP dialog ‘00002bbd00005b00-0203-0049@172.26.32.144’ in 6400 ms (Method: INVITE)
[Aug 1 14:57:37] VERBOSE[4060] chan_sip.c:
<— SIP read from UDP:94.77.210.150:5060 —>
ACK sip:s@188.53.78.210 SIP/2.0
P-CGP-Redirector: 9XXXXXX108373@terhal.go.com.sa
Via: SIP/2.0/UDP 94.77.210.150:5060;branch=z9hG4bK365282-kmbdztn;cgp=terhal.go.com.sa;rport
Max-Forwards: 63
From: “0XXXX42334” tel:0XXXX42334;tag=ac1a2090-00007d2c000067cc
To: “+9XXXXXX108373” tel:+9XXXXXX108373;tag=as6fb50931
Call-ID: 00002bbd00005b00-0203-0049@172.26.32.144
CSeq: 31601 ACK
Content-Length: 0
[size=150]I’m using Asterisk 1.6.2.24 installed on CentOS release 5.8 server.
I can only assume that Asterisk is could not locate context.
My Configuration is:[/size]
[color=#0000BF]sip.conf[/color]
[general]
.
.
register=>9XXXXXX108373:XXXXXX@terhal.go.com.sa
[GOterhal]
type=peer
host=terhal.go.com.sa
username=9XXXXXX108373
secret= XXXXXX
fromuser=9XXXXXX108373
fromdomain=terhal.go.com.sa
insecure=port,invite
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=g729
context=GOterhalContext
[color=#0040BF]extensions.conf[/color]
.
.
[GOterhalContext]
exten => 9XXXXXX108373,1,Dial(SIP/100,120,Tt)
exten => 9XXXXXX108373,n,Hangup()
exten => s,1,Dial(SIP/100,120,Tt)
exten => s,n,Hangup()
[color=#4080BF][size=150]Appreciate your help to have my VoIP/SIP incoming calls go through.[/size][/color]