Incomming SIP call Playing 'ss-noservice'

manfire
Posts: 1
Member Since:
2011-01-25

this is my setting

trunk inbound

user context :
from-didww1

user detail:

dtmf=rfc2833
dtmfmode=rfc2833
host=204.11.194.34
insecure=very
type=peer
context=from-trunk
nat=yes

register

my didww number:my didww number@204.11.194.34/my didww number

setting in the sip.conf

nat=yes
context=from-didww1
localnet=192.168.1.0/255.255.255.0
externip=my public ip

setting in sip_nat.conf

nat=yes
externip=my public ip
localnet=192.168.1.0/255.255.255.0
externrefresh=10

in the extension.conf

[from-trunk]
exten => my didww number,1,Answer()
exten => my didww number,2,Dial(SIP/100,20,Ttr)
exten => my didww number,3,Hangup()

I want to forward the incomming call to extension 100 but the problem: the call is forwarded to playback no service available

this is debug
== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.22-4 RPM by vc-rpms@voipconsulting.nl currently running on trixbox1 (pid = 2594)
Verbosity is at least 4
-- Executing [33*******@from-sip-external:1] NoOp("SIP/204.11.194.35-b7705658", "Received incoming SIP connection from unknown peer to 33******") in new stack
-- Executing [33*******@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "DID=33*******") in new stack
-- Executing [33*******@from-sip-external:3] Goto("SIP/204.11.194.35-b7705658", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/204.11.194.35-b7705658", "0?from-trunk|33*******|1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2011-01-25 11:57:23 UTC.
-- Executing [s@from-sip-external:3] Answer("SIP/204.11.194.35-b7705658", "") in new stack
-- Executing [s@from-sip-external:4] Wait("SIP/204.11.194.35-b7705658", "2") in new stack
-- Executing [s@from-sip-external:5] Playback("SIP/204.11.194.35-b7705658", "ss-noservice") in new stack
-- Playing 'ss-noservice' (language 'en')
-- Executing [s@from-sip-external:6] PlayTones("SIP/204.11.194.35-b7705658", "congestion") in new stack
-- Executing [s@from-sip-external:7] Congestion("SIP/204.11.194.35-b7705658", "5") in new stack
== Spawn extension (from-sip-external, s, 7) exited non-zero on 'SIP/204.11.194.35-b7705658'
-- Executing [h@from-sip-external:1] NoOp("SIP/204.11.194.35-b7705658", "Hangup") in new stack
-- Executing [h@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "DID=s") in new stack
-- Executing [h@from-sip-external:3] Goto("SIP/204.11.194.35-b7705658", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/204.11.194.35-b7705658", "0?from-trunk|s|1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2011-01-25 11:57:35 UTC.
-- Executing [s@from-sip-external:3] Answer("SIP/204.11.194.35-b7705658", "") in new stack
== Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/204.11.194.35-b7705658'



SkykingOH
Posts: 9680
Member Since:
2007-12-17
Typo

You have:

host=204.11.194.34

In your trunk, yet the call is arriving from:

NoOp("SIP/204.11.194.35-b7705658", "Received incoming SIP connection from unknown peer to 33******") in new stack

No peer, no service.

--

Scott

aka "Skyking"



man2asterisk
Posts: 6
Member Since:
2008-11-06
I have same issue can some one please help

[1408****640]
authname=*****
canreinvite=yes
context=voip1
qualify=yes
dtmfmode=rfc2833
host=69.90.174.98
insecure=very
nat=no
port=9060
secret=*****
type=peer
username=*****
disallow=all
allow=ulaw
;allow=g729
allow=gsm

in the extension.conf
[voip1]
exten => 1408****640,1,Answer()
exten => 1408****640,2,Dial(SIP/212,20,Ttr)
exten => 1408****640,3,Hangup()

debug data

-- Executing [1408****6400@from-sip-external:1] NoOp("SIP/69.90.174.98-0000001b", "Received incoming SIP connection from unknown peer to 1408****6400") in new stack
-- Executing [1408****6400@from-sip-external:2] Set("SIP/69.90.174.98-0000001b", "DID=1408****6400") in new stack
-- Executing [1408****6400@from-sip-external:3] Goto("SIP/69.90.174.98-0000001b", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/69.90.174.98-0000001b", "1?from-trunk,1408****6400,1") in new stack
-- Goto (from-trunk,1408****6400,1)
-- Executing [1408****6400@from-trunk:1] Set("SIP/69.90.174.98-0000001b", "__FROM_DID=1408****6400") in new stack
-- Executing [1408****6400@from-trunk:2] NoOp("SIP/69.90.174.98-0000001b", "Received an unknown call with DID set to 1408****6400") in new stack
-- Executing [1408****6400@from-trunk:3] Goto("SIP/69.90.174.98-0000001b", "s,a2") in new stack
-- Goto (from-trunk,s,2)
-- Executing [s@from-trunk:2] Answer("SIP/69.90.174.98-0000001b", "") in new stack
-- Executing [s@from-trunk:3] Wait("SIP/69.90.174.98-0000001b", "2") in new stack
-- Executing [s@from-trunk:4] Playback("SIP/69.90.174.98-0000001b", "ss-noservice") in new stack
-- Playing 'ss-noservice.gsm' (language 'en')
== Spawn extension (from-trunk, s, 4) exited non-zero on 'SIP/69.90.174.98-0000001b'
-- Executing [h@from-trunk:1] Hangup("SIP/69.90.174.98-0000001b", "") in new stack
== Spawn extension (from-trunk, h, 1) exited non-zero on 'SIP/69.90.174.98-0000001b'



SkykingOH
Posts: 9680
Member Since:
2007-12-17
man2asterisk - It looks like

man2asterisk - What software are you running? With trixbox you don't need to modify the sip and extensions.conf the GUI takes care of this.

--

Scott

aka "Skyking"



man2asterisk
Posts: 6
Member Since:
2008-11-06
I am running TrixBox CE

I am running TrixBox CE 2.8.0.4 and I really dont like to use Freepbx .. I have used older version of trixbox earlier with no such issues .



man2asterisk
Posts: 6
Member Since:
2008-11-06
btw when i dial my did

btw when i dial my did (1408****640) from sip phone connecting the my trixbox i get the right message so that means my dial plan in extension*conf is ok . basicly it seems the any incoming call hits the [from-sip-external] and from there its not reaching my dialplan/context ..



man2asterisk
Posts: 6
Member Since:
2008-11-06
thx my issue got solved the

thx my issue got solved the cause was

chan_sip.c: username mismatch

digest and peer username was wrong/ mismatch



juliusbucio
Posts: 1
Member Since:
2011-11-07
Same Issue

My inbounds don't work! I got the inbound running fine but after an hour after doing some test inbound call. I got this message that my DID is not yet in service.

By the way this is my trunk settings:

type=friend
dtmfmode=auto
host=98.158.186.229
allow=all
trustrpid=yes
sendrpid=yes
insecure=very
canreinvite=no
nat=yes
context=from-trunk

and this is what I got in asterisk when calling my DID.

-- Executing [s@from-sip-external:2] Set("SIP/Vonfone-00000130", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2012-03-07 22:04:51.000 EASST.
-- Executing [s@from-sip-external:3] Answer("SIP/Vonfone-00000130", "") in new stack
-- Executing [s@from-sip-external:4] Wait("SIP/Vonfone-00000130", "2") in new stack
-- Executing [s@from-sip-external:5] Playback("SIP/Vonfone-00000130", "ss-noservice") in new stack
-- Playing 'ss-noservice.gsm' (language 'en')
-- Executing [s@from-sip-external:6] PlayTones("SIP/Vonfone-00000130", "congestion") in new stack
-- Executing [s@from-sip-external:7] Congestion("SIP/Vonfone-00000130", "5") in new stack
== Spawn extension (from-sip-external, s, 7) exited non-zero on 'SIP/Vonfone-00000130'
-- Executing [h@from-sip-external:1] NoOp("SIP/Vonfone-00000130", "Hangup") in new stack
-- Executing [h@from-sip-external:2] Set("SIP/Vonfone-00000130", "DID=s") in new stack
-- Executing [h@from-sip-external:3] Goto("SIP/Vonfone-00000130", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/Vonfone-00000130", "0?from-trunk,s,1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/Vonfone-00000130", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2012-03-07 22:05:04.000 EASST.
-- Executing [s@from-sip-external:3] Answer("SIP/Vonfone-00000130", "") in new stack
== Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/Vonfone-00000130'

PLEASE ADVISE ON WHAT THE BEST THING TO DO TO MAKE MY DID WORK.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.