VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
petedao at gmail.com Guest
|
Posted: Mon Mar 17, 2008 2:08 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Hi,
I am new to Asterisk and I am having a setup problem that I am trying to
resolved for the last couple days without any success. I am pretty much
desperated on this issue and I don't know why. Can someone please kindly
help me to troubleshoot this? I can't hear any audio from Asterisk when
running Playback or VoiceMail tests.
I have my Asterisk server ( running on Debian, 192.168.1.101 ) and Xlite
(running on Vista, 192.168.1.102) on two different machine within the same
Lan. My network is ADSL ( home-based ) with a dynamic IP.
When I run the
exten=>222,1,Answer()
exten=>222,2,Echo()
exten=>222,3,Hangup()
It works as I am getting RTP packet sent and receied and I can hear the echo
audio.
debian*CLI>
-- Executing [222 at my-phones:1] Answer("SIP/2000-b6d06750", "") in new stack
-- Executing [222 at my-phones:2] Echo("SIP/2000-b6d06750", "") in new stack
Got RTP packet from 192.168.1.102:42406 (type 00, seq 003468, ts 2904300,
len 000160)
Sent RTP packet to 192.168.1.102:42406 (type 00, seq 002928, ts 2904296, len
000160)
Got RTP packet from 192.168.1.102:42406 (type 00, seq 003469, ts 2904460,
len 000160)
Sent RTP packet to 192.168.1.102:42406 (type 00, seq 002929, ts 2904456, len
000160)
Got RTP packet from 192.168.1.102:42406 (type 00, seq 003470, ts 2904620,
len 000160)
Sent RTP packet to 192.168.1.102:42406 (type 00, seq 002930, ts 2904616, len
000160)
Got RTP packet from 192.168.1.102:42406 (type 00, seq 003471, ts 2904780,
len 000160)
Sent RTP packet to 192.168.1.102:42406 (type 00, seq 002931, ts 2904776, le
But if I run this, it does not work and I can't hear any of the playback.
from the console, the packet is not sent to the client.
exten=>333,1,Answer()
exten=>333,2,Playback(vm-goodbye)
exten=>333,3,Hangup()
It does not work and the console output is:
-- Executing [333 at my-phones:1] Answer("SIP/2000-b6d09708", "") in new stack
-- Executing [333 at my-phones:2] Playback("SIP/2000-b6d09708", "vm-goodbye")
in new stack
Sent RTP packet to 192.168.1.102:61588 (type 00, seq 017315, ts 000160, len
000160)
-- <SIP/2000-b6d09708> Playing 'vm-goodbye' (language 'en')
Got RTP packet from 192.168.1.102:61588 (type 00, seq 005474, ts 052000, len
000160)
Got RTP packet from 192.168.1.102:61588 (type 00, seq 005475, ts 052160, len
000160)
Got RTP packet from 192.168.1.102:61588 (type 00, seq 005476, ts 052320, len
000160)
Got RTP packet from 192.168.1.102:61588 (type 00, seq 005477, ts 052480, len
000160)
Got RTP packet from 192.168.1.102:61588 (type 00, seq 005478, ts 052640, len
000160)
My sip.conf is like this:
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>userid:pass at voipuser.org/userid
nat=yes
externip=58.251.75.233
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
qualify=yes
Thank you very much for all your kind help.
Regards,
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080317/e8076bc9/attachment.htm |
|
Back to top |
|
|
anselm at hoffmeister-... Guest
|
Posted: Mon Mar 17, 2008 5:47 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Am Montag, den 17.03.2008, 15:08 +0800 schrieb Pete Kay:
Quote: | Hi,
I am new to Asterisk and I am having a setup problem that I am trying
to resolved for the last couple days without any success. I am pretty
much desperated on this issue and I don't know why. Can someone
please kindly help me to troubleshoot this? I can't hear any audio
from Asterisk when running Playback or VoiceMail tests.
|
Dear Pete,
my first idea would be that something with your codecs is borken (TM). I
personally use a setup quite similar to yours, with the one visible
difference that I also allow the "gsm" codec, owing to the fact that at
least my home-recorded prompts are gsm only. I _guess_ asterisk could or
should handle format conversion from audio files automagically, but for
making sure, please try adding "gsm", at least for now.
You might also want to setup the
[sipclient] stanza in sip.conf such that "nat" is set to "no", although
I do not see why that should break things. Especially as "Echo" works.
The externip is set to your current external IP, right? (Knowing full
well that some DSL lines get a new IP as often as 6 times a day, or as a
P2P bandwidth countermeasure down to five minute intervals at certain
restrictive providers once your "fair use" volume is used up). Again
this should not be the culprit...
Poking with a stick in the swamps, but perhaps hitting the bug
BR
Anselm |
|
Back to top |
|
|
petedao at gmail.com Guest
|
Posted: Mon Mar 17, 2008 6:17 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Hi,
Thanks for pointing out. I checked the extenip and it is fine. The thing
is that I have already configure gsm as one of the codec in the sip.conf:
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>outraspace:whatever at voipuser.org/outraspace
nat=yes
externip=58.251.75.333
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
qualify=yes
Any other hints?
On Mon, Mar 17, 2008 at 6:47 PM, Anselm Martin Hoffmeister <
anselm at hoffmeister-online.de> wrote:
Quote: | Am Montag, den 17.03.2008, 15:08 +0800 schrieb Pete Kay:
Quote: | Hi,
I am new to Asterisk and I am having a setup problem that I am trying
to resolved for the last couple days without any success. I am pretty
much desperated on this issue and I don't know why. Can someone
please kindly help me to troubleshoot this? I can't hear any audio
from Asterisk when running Playback or VoiceMail tests.
|
Dear Pete,
my first idea would be that something with your codecs is borken (TM). I
personally use a setup quite similar to yours, with the one visible
difference that I also allow the "gsm" codec, owing to the fact that at
least my home-recorded prompts are gsm only. I _guess_ asterisk could or
should handle format conversion from audio files automagically, but for
making sure, please try adding "gsm", at least for now.
You might also want to setup the
[sipclient] stanza in sip.conf such that "nat" is set to "no", although
I do not see why that should break things. Especially as "Echo" works.
The externip is set to your current external IP, right? (Knowing full
well that some DSL lines get a new IP as often as 6 times a day, or as a
P2P bandwidth countermeasure down to five minute intervals at certain
restrictive providers once your "fair use" volume is used up). Again
this should not be the culprit...
Poking with a stick in the swamps, but perhaps hitting the bug
BR
Anselm
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080317/c06340c2/attachment.htm |
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Mon Mar 17, 2008 6:26 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
SIP debug output please.
Thanks,
Steve Totaro
On Mon, Mar 17, 2008 at 7:17 AM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
Thanks for pointing out. I checked the extenip and it is fine. The thing
is that I have already configure gsm as one of the codec in the sip.conf:
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>outraspace:whatever at voipuser.org/outraspace
nat=yes
externip=58.251.75.333
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
qualify=yes
Any other hints?
On Mon, Mar 17, 2008 at 6:47 PM, Anselm Martin Hoffmeister
<anselm at hoffmeister-online.de> wrote:
Quote: | Am Montag, den 17.03.2008, 15:08 +0800 schrieb Pete Kay:
Quote: | Hi,
I am new to Asterisk and I am having a setup problem that I am trying
to resolved for the last couple days without any success. I am pretty
much desperated on this issue and I don't know why. Can someone
please kindly help me to troubleshoot this? I can't hear any audio
from Asterisk when running Playback or VoiceMail tests.
|
Dear Pete,
my first idea would be that something with your codecs is borken (TM). I
personally use a setup quite similar to yours, with the one visible
difference that I also allow the "gsm" codec, owing to the fact that at
least my home-recorded prompts are gsm only. I _guess_ asterisk could or
should handle format conversion from audio files automagically, but for
making sure, please try adding "gsm", at least for now.
You might also want to setup the
[sipclient] stanza in sip.conf such that "nat" is set to "no", although
I do not see why that should break things. Especially as "Echo" works.
The externip is set to your current external IP, right? (Knowing full
well that some DSL lines get a new IP as often as 6 times a day, or as a
P2P bandwidth countermeasure down to five minute intervals at certain
restrictive providers once your "fair use" volume is used up). Again
this should not be the culprit...
Poking with a stick in the swamps, but perhaps hitting the bug
BR
Anselm
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
james.texter at gmail.com Guest
|
Posted: Mon Mar 17, 2008 8:04 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Try putting in a wait after you answer. It's possible the message is
playing before the RTP is setup. I would change your dialplan to be
exten => 333,1,Answer()
exten => 333,n,Wait(1)
exten => 333,n,Playback(vm-goodbye)
exten => 333,n,Hangup()
HTH,
James
On Mar 17, 2008, at 5:47 AM, Anselm Martin Hoffmeister wrote:
Quote: | Am Montag, den 17.03.2008, 15:08 +0800 schrieb Pete Kay:
Quote: | Hi,
I am new to Asterisk and I am having a setup problem that I am trying
to resolved for the last couple days without any success. I am
pretty
much desperated on this issue and I don't know why. Can someone
please kindly help me to troubleshoot this? I can't hear any audio
from Asterisk when running Playback or VoiceMail tests.
|
Dear Pete,
my first idea would be that something with your codecs is borken
(TM). I
personally use a setup quite similar to yours, with the one visible
difference that I also allow the "gsm" codec, owing to the fact that
at
least my home-recorded prompts are gsm only. I _guess_ asterisk
could or
should handle format conversion from audio files automagically, but
for
making sure, please try adding "gsm", at least for now.
You might also want to setup the
[sipclient] stanza in sip.conf such that "nat" is set to "no",
although
I do not see why that should break things. Especially as "Echo" works.
The externip is set to your current external IP, right? (Knowing full
well that some DSL lines get a new IP as often as 6 times a day, or
as a
P2P bandwidth countermeasure down to five minute intervals at certain
restrictive providers once your "fair use" volume is used up). Again
this should not be the culprit...
Poking with a stick in the swamps, but perhaps hitting the bug
BR
Anselm
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Mon Mar 17, 2008 8:57 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Paste the sip.conf for your softphone.
Thanks,
Steve Totaro
On Mon, Mar 17, 2008 at 9:38 AM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
Here is the SIP debug output for the playback test. Thank you so much for
your help.
<------------>
[Mar 18 05:33:08] -- Executing [333 at my-phones:1]
Answer("SIP/2000-081e0738", "") in new stack
[Mar 18 05:33:08] Audio is at 192.168.1.101 port 10028
[Mar 18 05:33:08] Adding codec 0x4 (ulaw) to SDP
[Mar 18 05:33:08] Adding codec 0x8 (alaw) to SDP
[Mar 18 05:33:08] Adding non-codec 0x1 (telephone-event) to SDP
[Mar 18 05:33:08]
<--- Reliably Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-f917f17a8205cc03-1--d87543-;received=192.168.1.102;rport=8526
From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:333 at 192.168.1.101>
Content-Type: application/sdp
Content-Length: 262
v=0
o=root 616 616 IN IP4 192.168.1.101
s=session
c=IN IP4 192.168.1.101
t=0 0
m=audio 10028 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
<------------>
[Mar 18 05:33:08] -- Executing [333 at my-phones:2]
Playback("SIP/2000-081e0738", "vm-goodbye") in new stack
[Mar 18 05:33:08] -- <SIP/2000-081e0738> Playing 'vm-goodbye' (language
'en')
[Mar 18 05:33:08]
<--- SIP read from 192.168.1.102:8526 --->
ACK sip:333 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-52064b41251a4a1c-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 2 ACK
Proxy-Authorization: Digest
username="2000",realm="asterisk",nonce="387941cf",uri="sip:333 at 192.168.1.101",response="0a44bf3bf1daf39f8d32aac795d6b7c9",algorithm=MD5
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0
<------------->
[Mar 18 05:33:08] --- (11 headers 0 lines) ---
[Mar 18 05:33:12]
<--- SIP read from 192.168.1.102:5060 --->
OPTIONS sip:ping at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.102:5060;rport;branch=z9hG4bK793126083
From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
Max-Forwards: 70
User-Agent: wengo/v1/wengophoneng/wengo/rev12359/trunk/
Expires: 120
Accept: application/sdp
Content-Length: 0
<------------->
[Mar 18 05:33:12] --- (11 headers 0 lines) ---
[Mar 18 05:33:12] Looking for ping in others (domain 192.168.1.101)
[Mar 18 05:33:12]
<--- Transmitting (NAT) to 192.168.1.102:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.102:5060;branch=z9hG4bK793126083;received=192.168.1.102;rport=5060
From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>;tag=as0ca1ddb0
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Accept: application/sdp
Content-Length: 0
<------------>
[Mar 18 05:33:12] Scheduling destruction of SIP dialog
'2808830214 at 192.168.1.102' in 32000 ms (Method: OPTIONS)
[Mar 18 05:33:13]
<--- SIP read from 192.168.1.102:8526 --->
BYE sip:333 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-f409c54c895d2452-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 3 BYE
Proxy-Authorization: Digest
username="2000",realm="asterisk",nonce="387941cf",uri="sip:333 at 192.168.1.101",response="c48a3b608e9c1806c3b5f1c6d7fbab01",algorithm=MD5
User-Agent: X-Lite release 1011s stamp 41150
Reason: SIP;description="User Hung Up"
Content-Length: 0
<------------->
[Mar 18 05:33:13] --- (12 headers 0 lines) ---
[Mar 18 05:33:13] Sending to 192.168.1.102 : 8526 (NAT)
[Mar 18 05:33:13]
<--- Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-f409c54c895d2452-1--d87543-;received=192.168.1.102;rport=8526
From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 3 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:333 at 192.168.1.101>
Content-Length: 0
<------------>
[Mar 18 05:33:13] == Spawn extension (my-phones, 333, 2) exited non-zero
on 'SIP/2000-081e0738'
[Mar 18 05:33:14] Really destroying SIP dialog
'ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.' Method: BYE
[Mar 18 05:33:17]
<--- SIP read from 192.168.1.102:8526 --->
SUBSCRIBE sip:2000 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-5a0fd851e47c773d-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "2000"<sip:2000 at 192.168.1.101>
From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 1 SUBSCRIBE
Expires: 300
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
User-Agent: X-Lite release 1011s stamp 41150
Event: message-summary
Content-Length: 0
<------------->
[Mar 18 05:33:17] --- (13 headers 0 lines) ---
[Mar 18 05:33:17] Creating new subscription
[Mar 18 05:33:17] Sending to 192.168.1.102 : 8526 (NAT)
[Mar 18 05:33:17] Found peer '2000'
[Mar 18 05:33:17]
<--- Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-5a0fd851e47c773d-1--d87543-;received=192.168.1.102;rport=8526
From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
To: "2000"<sip:2000 at 192.168.1.101>;tag=as392594ef
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 1 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2897b4aa"
Content-Length: 0
<------------>
[Mar 18 05:33:17] Scheduling destruction of SIP dialog
'YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.' in 6976 ms (Method:
SUBSCRIBE)
[Mar 18 05:33:17]
<--- SIP read from 192.168.1.102:8526 --->
SUBSCRIBE sip:2000 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-904ff3127e03aa31-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "2000"<sip:2000 at 192.168.1.101>
From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 2 SUBSCRIBE
Expires: 300
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
User-Agent: X-Lite release 1011s stamp 41150
Authorization: Digest
username="2000",realm="asterisk",nonce="2897b4aa",uri="sip:2000 at 192.168.1.101",response="f1bcbbc23e4069ea95962b8c2fbb12b0",algorithm=MD5
Event: message-summary
Content-Length: 0
<------------->
[Mar 18 05:33:17] --- (14 headers 0 lines) ---
[Mar 18 05:33:17] Creating new subscription
[Mar 18 05:33:17] Sending to 192.168.1.102 : 8526 (NAT)
[Mar 18 05:33:17] Found peer '2000'
[Mar 18 05:33:17] Looking for 2000 in my-phones (domain 192.168.1.101)
[Mar 18 05:33:17]
<--- Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.102:8526;branch=z9hG4bK-d87543-904ff3127e03aa31-1--d87543-;received=192.168.1.102;rport=8526
From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
To: "2000"<sip:2000 at 192.168.1.101>;tag=as392594ef
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 2 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
On Mon, Mar 17, 2008 at 7:26 PM, Steve Totaro
<stotaro at totarotechnologies.com> wrote:
Quote: | SIP debug output please.
Thanks,
Steve Totaro
On Mon, Mar 17, 2008 at 7:17 AM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
Thanks for pointing out. I checked the extenip and it is fine. The
|
| thing
Quote: | Quote: | is that I have already configure gsm as one of the codec in the
|
| sip.conf:
Quote: | Quote: |
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>outraspace:whatever at voipuser.org/outraspace
nat=yes
externip=58.251.75.333
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
qualify=yes
Any other hints?
On Mon, Mar 17, 2008 at 6:47 PM, Anselm Martin Hoffmeister
<anselm at hoffmeister-online.de> wrote:
Quote: | Am Montag, den 17.03.2008, 15:08 +0800 schrieb Pete Kay:
Quote: | Hi,
I am new to Asterisk and I am having a setup problem that I am
|
|
|
| trying
Quote: | Quote: | Quote: | Quote: | to resolved for the last couple days without any success. I am
|
|
|
| pretty
Quote: | Quote: | Quote: | Quote: | much desperated on this issue and I don't know why. Can someone
please kindly help me to troubleshoot this? I can't hear any audio
from Asterisk when running Playback or VoiceMail tests.
|
Dear Pete,
my first idea would be that something with your codecs is borken (TM).
|
|
| I
Quote: | Quote: | Quote: | personally use a setup quite similar to yours, with the one visible
difference that I also allow the "gsm" codec, owing to the fact that
|
|
| at
Quote: | Quote: | Quote: | least my home-recorded prompts are gsm only. I _guess_ asterisk could
|
|
| or
Quote: | Quote: | Quote: | should handle format conversion from audio files automagically, but
|
|
| for
Quote: | Quote: | Quote: | making sure, please try adding "gsm", at least for now.
You might also want to setup the
[sipclient] stanza in sip.conf such that "nat" is set to "no",
|
|
| although
Quote: | Quote: | Quote: | I do not see why that should break things. Especially as "Echo" works.
The externip is set to your current external IP, right? (Knowing full
well that some DSL lines get a new IP as often as 6 times a day, or as
|
|
| a
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
petedao at gmail.com Guest
|
Posted: Mon Mar 17, 2008 9:27 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Hi,
My Sip.conf is like this:
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>outraspace:whatever at voipuser.org/outraspace
nat=yes
externip=58.251.75.251
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
qualify=yes
On Mon, Mar 17, 2008 at 9:57 PM, Steve Totaro <
stotaro at totarotechnologies.com> wrote:
Quote: | Paste the sip.conf for your softphone.
Thanks,
Steve Totaro
On Mon, Mar 17, 2008 at 9:38 AM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
Here is the SIP debug output for the playback test. Thank you so much
| for
Quote: | your help.
<------------>
[Mar 18 05:33:08] -- Executing [333 at my-phones:1]
Answer("SIP/2000-081e0738", "") in new stack
[Mar 18 05:33:08] Audio is at 192.168.1.101 port 10028
[Mar 18 05:33:08] Adding codec 0x4 (ulaw) to SDP
[Mar 18 05:33:08] Adding codec 0x8 (alaw) to SDP
[Mar 18 05:33:08] Adding non-codec 0x1 (telephone-event) to SDP
[Mar 18 05:33:08]
<--- Reliably Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-f917f17a8205cc03-1--d87543-;received=192.168.1.102
;rport=8526
Quote: | From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:333 at 192.168.1.101>
Content-Type: application/sdp
Content-Length: 262
v=0
o=root 616 616 IN IP4 192.168.1.101
s=session
c=IN IP4 192.168.1.101
t=0 0
m=audio 10028 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
<------------>
[Mar 18 05:33:08] -- Executing [333 at my-phones:2]
Playback("SIP/2000-081e0738", "vm-goodbye") in new stack
[Mar 18 05:33:08] -- <SIP/2000-081e0738> Playing 'vm-goodbye'
| (language
Quote: | 'en')
[Mar 18 05:33:08]
<--- SIP read from 192.168.1.102:8526 --->
ACK sip:333 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-52064b41251a4a1c-1--d87543-;rport
Quote: | Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 2 ACK
Proxy-Authorization: Digest
username="2000",realm="asterisk",nonce="387941cf",uri="
| sip:333 at 192.168.1.101
",response="0a44bf3bf1daf39f8d32aac795d6b7c9",algorithm=MD5
Quote: | User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0
<------------->
[Mar 18 05:33:08] --- (11 headers 0 lines) ---
[Mar 18 05:33:12]
<--- SIP read from 192.168.1.102:5060 --->
OPTIONS sip:ping at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.102:5060;rport;branch=z9hG4bK793126083
From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
Max-Forwards: 70
User-Agent: wengo/v1/wengophoneng/wengo/rev12359/trunk/
Expires: 120
Accept: application/sdp
Content-Length: 0
<------------->
[Mar 18 05:33:12] --- (11 headers 0 lines) ---
[Mar 18 05:33:12] Looking for ping in others (domain 192.168.1.101)
[Mar 18 05:33:12]
<--- Transmitting (NAT) to 192.168.1.102:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.102:5060;branch=z9hG4bK793126083;received=192.168.1.102
| ;rport=5060
Quote: | From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>;tag=as0ca1ddb0
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Accept: application/sdp
Content-Length: 0
<------------>
[Mar 18 05:33:12] Scheduling destruction of SIP dialog
'2808830214 at 192.168.1.102' in 32000 ms (Method: OPTIONS)
[Mar 18 05:33:13]
<--- SIP read from 192.168.1.102:8526 --->
BYE sip:333 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-f409c54c895d2452-1--d87543-;rport
Quote: | Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 3 BYE
Proxy-Authorization: Digest
username="2000",realm="asterisk",nonce="387941cf",uri="
| sip:333 at 192.168.1.101
",response="c48a3b608e9c1806c3b5f1c6d7fbab01",algorithm=MD5
Quote: | User-Agent: X-Lite release 1011s stamp 41150
Reason: SIP;description="User Hung Up"
Content-Length: 0
<------------->
[Mar 18 05:33:13] --- (12 headers 0 lines) ---
[Mar 18 05:33:13] Sending to 192.168.1.102 : 8526 (NAT)
[Mar 18 05:33:13]
<--- Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-f409c54c895d2452-1--d87543-;received=192.168.1.102
;rport=8526
Quote: | From: "2000"<sip:2000 at 192.168.1.101>;tag=902ece11
To: "333"<sip:333 at 192.168.1.101>;tag=as1c53735e
Call-ID: ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.
CSeq: 3 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:333 at 192.168.1.101>
Content-Length: 0
<------------>
[Mar 18 05:33:13] == Spawn extension (my-phones, 333, 2) exited
| non-zero
Quote: | on 'SIP/2000-081e0738'
[Mar 18 05:33:14] Really destroying SIP dialog
'ZGU0NzM1M2I3ZmM1OGQ4OTViZTlhMDdmNzQ2MTdjMzQ.' Method: BYE
[Mar 18 05:33:17]
<--- SIP read from 192.168.1.102:8526 --->
SUBSCRIBE sip:2000 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-5a0fd851e47c773d-1--d87543-;rport
Quote: | Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "2000"<sip:2000 at 192.168.1.101>
From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 1 SUBSCRIBE
Expires: 300
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
| SUBSCRIBE,
Quote: | INFO
User-Agent: X-Lite release 1011s stamp 41150
Event: message-summary
Content-Length: 0
<------------->
[Mar 18 05:33:17] --- (13 headers 0 lines) ---
[Mar 18 05:33:17] Creating new subscription
[Mar 18 05:33:17] Sending to 192.168.1.102 : 8526 (NAT)
[Mar 18 05:33:17] Found peer '2000'
[Mar 18 05:33:17]
<--- Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-5a0fd851e47c773d-1--d87543-;received=192.168.1.102
;rport=8526
Quote: | From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
To: "2000"<sip:2000 at 192.168.1.101>;tag=as392594ef
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 1 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk",
| nonce="2897b4aa"
Quote: | Content-Length: 0
<------------>
[Mar 18 05:33:17] Scheduling destruction of SIP dialog
'YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.' in 6976 ms (Method:
SUBSCRIBE)
[Mar 18 05:33:17]
<--- SIP read from 192.168.1.102:8526 --->
SUBSCRIBE sip:2000 at 192.168.1.101 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-904ff3127e03aa31-1--d87543-;rport
Quote: | Max-Forwards: 70
Contact: <sip:2000 at 192.168.1.102:8526>
To: "2000"<sip:2000 at 192.168.1.101>
From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 2 SUBSCRIBE
Expires: 300
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
| SUBSCRIBE,
Quote: | INFO
User-Agent: X-Lite release 1011s stamp 41150
Authorization: Digest
username="2000",realm="asterisk",nonce="2897b4aa",uri="
| sip:2000 at 192.168.1.101
",response="f1bcbbc23e4069ea95962b8c2fbb12b0",algorithm=MD5
Quote: | Event: message-summary
Content-Length: 0
<------------->
[Mar 18 05:33:17] --- (14 headers 0 lines) ---
[Mar 18 05:33:17] Creating new subscription
[Mar 18 05:33:17] Sending to 192.168.1.102 : 8526 (NAT)
[Mar 18 05:33:17] Found peer '2000'
[Mar 18 05:33:17] Looking for 2000 in my-phones (domain 192.168.1.101)
[Mar 18 05:33:17]
<--- Transmitting (NAT) to 192.168.1.102:8526 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.102:8526
| ;branch=z9hG4bK-d87543-904ff3127e03aa31-1--d87543-;received=192.168.1.102
;rport=8526
Quote: | From: "2000"<sip:2000 at 192.168.1.101>;tag=181de57f
To: "2000"<sip:2000 at 192.168.1.101>;tag=as392594ef
Call-ID: YjBmMzBlMjY3ZTMyYTA0YTUxYjI0NDExNTgxMjlmMzE.
CSeq: 2 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
On Mon, Mar 17, 2008 at 7:26 PM, Steve Totaro
<stotaro at totarotechnologies.com> wrote:
Quote: | SIP debug output please.
Thanks,
Steve Totaro
On Mon, Mar 17, 2008 at 7:17 AM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
Thanks for pointing out. I checked the extenip and it is fine. The
|
| thing
Quote: | Quote: | is that I have already configure gsm as one of the codec in the
|
| sip.conf:
Quote: | Quote: |
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>outraspace:whatever at voipuser.org/outraspace
nat=yes
externip=58.251.75.333
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
qualify=yes
Any other hints?
On Mon, Mar 17, 2008 at 6:47 PM, Anselm Martin Hoffmeister
<anselm at hoffmeister-online.de> wrote:
Quote: | Am Montag, den 17.03.2008, 15:08 +0800 schrieb Pete Kay:
Quote: | Hi,
I am new to Asterisk and I am having a setup problem that I am
|
|
|
| trying
Quote: | Quote: | Quote: | Quote: | to resolved for the last couple days without any success. I am
|
|
|
| pretty
Quote: | Quote: | Quote: | Quote: | much desperated on this issue and I don't know why. Can someone
please kindly help me to troubleshoot this? I can't hear any
|
|
|
|
| audio
Quote: | Quote: | Quote: | Quote: | Quote: | from Asterisk when running Playback or VoiceMail tests.
|
Dear Pete,
my first idea would be that something with your codecs is borken
|
|
|
| (TM).
Quote: | I
Quote: | Quote: | Quote: | personally use a setup quite similar to yours, with the one
|
|
|
| visible
Quote: | Quote: | Quote: | Quote: | difference that I also allow the "gsm" codec, owing to the fact
|
|
|
| that
Quote: | at
Quote: | Quote: | Quote: | least my home-recorded prompts are gsm only. I _guess_ asterisk
|
|
|
| could
Quote: | or
Quote: | Quote: | Quote: | should handle format conversion from audio files automagically,
|
|
|
| but
Quote: | for
Quote: | Quote: | Quote: | making sure, please try adding "gsm", at least for now.
You might also want to setup the
[sipclient] stanza in sip.conf such that "nat" is set to "no",
|
|
| although
Quote: | Quote: | Quote: | I do not see why that should break things. Especially as "Echo"
|
|
|
| works.
Quote: | Quote: | Quote: | Quote: |
The externip is set to your current external IP, right? (Knowing
|
|
|
| full
Quote: | Quote: | Quote: | Quote: | well that some DSL lines get a new IP as often as 6 times a day,
|
|
|
| or as
Quote: | a
Quote: | Quote: | Quote: | P2P bandwidth countermeasure down to five minute intervals at
|
|
|
| certain
Quote: | Quote: | Quote: | Quote: | restrictive providers once your "fair use" volume is used up).
|
|
|
| Again
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080317/242c2c44/attachment.htm |
|
Back to top |
|
|
anselm at hoffmeister-... Guest
|
Posted: Mon Mar 17, 2008 9:34 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Am Montag, den 17.03.2008, 21:38 +0800 schrieb Pete Kay:
Quote: | Hi,
Here is the SIP debug output for the playback test. Thank you so much
for your help.
|
Hi Pete,
Quote: | <------------>
[Mar 18 05:33:08] -- Executing [333 at my-phones:1]
Answer("SIP/2000-081e0738", "") in new stack
[Mar 18 05:33:08] Audio is at 192.168.1.101 port 10028
[Mar 18 05:33:08] Adding codec 0x4 (ulaw) to SDP
[Mar 18 05:33:08] Adding codec 0x8 (alaw) to SDP
[Mar 18 05:33:08] Adding non-codec 0x1 (telephone-event) to SDP
|
I do not see "gsm" here. Any reason not to allow that codec? Or did I
miss something? You wrote you enabled it, so it should be here IMO.
Quote: | <--- Transmitting (NAT) to 192.168.1.102:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.102:5060;branch=z9hG4bK793126083;received=192.168.1.102;rport=5060
From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>;tag=as0ca1ddb0
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Accept: application/sdp
Content-Length: 0
|
"404" does not sound good. Please, look which sound files exist on your
system (e.g. what does
find /usr/share/asterisk -file "vm-goodbye*"
say?)
Another point: Which client do you use, is it Wengo or is it Xlite? Or
both? In that case: Any differences?
BR
Anselm |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Mon Mar 17, 2008 10:16 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
On Mon, 17 Mar 2008, Pete Kay wrote:
Quote: | Quote: | Quote: | <--- Transmitting (NAT) to 192.168.1.102:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.102:5060;branch=z9hG4bK793126083;received=192.168.1.102
| ;rport=5060
Quote: | From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>;tag=as0ca1ddb0
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Accept: application/sdp
Content-Length: 0
|
"404" does not sound good. Please, look which sound files exist on your
system (e.g. what does
find /usr/share/asterisk -file "vm-goodbye*"
say?)
|
|
My guess is that the 404 relates to "ping" not to the sound file.
BTW, the command to find the file should be:
find /usr/share/asterisk -file "vm-goodbye*"
------------------------------------^^^^
name
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
petedao at gmail.com Guest
|
Posted: Mon Mar 17, 2008 12:01 pm Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Hi,
It may seems like my lack of audio problem with PlayBack is due to zaptel
setting.
When I tried to start zaptel, I keep getting errors:
debian:/etc/init.d# ./zaptel start
Zaptel telephony kernel driver: ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 223: Unable to register tone zone 'uk'
zaptel.
I changed tone zone to something else and does not work. What is wrong?
Can anyone please give me some hint?
Thank you very much for your help.
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080318/27be0bb0/attachment.htm |
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Mon Mar 17, 2008 12:02 pm Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Pete,
You are connecting via a SIP softphone correct? Where is that in your sip.conf?
On Mon, Mar 17, 2008 at 11:42 AM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
My sip.conf has the allow=gsm as shown in the following:
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>outraspace:password at voipuser.org/outraspace
nat=yes
externip=58.251.75.251
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
qualify=yes
All the sound files are in /var/lib/asterisk/sounds instead. Is it correct?
I have tried both Wengo and xlite, but same result.
I can't figure out what caused the 404 error. Any idea?
Thank you so much for your help.
Pete
On Mon, Mar 17, 2008 at 10:34 PM, Anselm Martin Hoffmeister
<anselm at hoffmeister-online.de> wrote:
Quote: | Am Montag, den 17.03.2008, 21:38 +0800 schrieb Pete Kay:
Quote: | Here is the SIP debug output for the playback test. Thank you so much
for your help.
|
Hi Pete,
Quote: | <------------>
[Mar 18 05:33:08] -- Executing [333 at my-phones:1]
Answer("SIP/2000-081e0738", "") in new stack
[Mar 18 05:33:08] Audio is at 192.168.1.101 port 10028
[Mar 18 05:33:08] Adding codec 0x4 (ulaw) to SDP
[Mar 18 05:33:08] Adding codec 0x8 (alaw) to SDP
[Mar 18 05:33:08] Adding non-codec 0x1 (telephone-event) to SDP
|
I do not see "gsm" here. Any reason not to allow that codec? Or did I
miss something? You wrote you enabled it, so it should be here IMO.
Quote: | <--- Transmitting (NAT) to 192.168.1.102:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
|
| 192.168.1.102:5060;branch=z9hG4bK793126083;received=192.168.1.102;rport=5060
Quote: | Quote: | From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>;tag=as0ca1ddb0
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Accept: application/sdp
Content-Length: 0
|
"404" does not sound good. Please, look which sound files exist on your
system (e.g. what does
find /usr/share/asterisk -file "vm-goodbye*"
say?)
Another point: Which client do you use, is it Wengo or is it Xlite? Or
both? In that case: Any differences?
BR
Anselm
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Mon Mar 17, 2008 12:53 pm Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
Did you try US? modprobe zaptel. Do you have any zaptel hardware?
modprobe ztdummy.
On Mon, Mar 17, 2008 at 1:01 PM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
It may seems like my lack of audio problem with PlayBack is due to zaptel
setting.
When I tried to start zaptel, I keep getting errors:
debian:/etc/init.d# ./zaptel start
Zaptel telephony kernel driver: ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 223: Unable to register tone zone 'uk'
zaptel.
I changed tone zone to something else and does not work. What is wrong?
Can anyone please give me some hint?
Thank you very much for your help.
Pete
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Mon Mar 17, 2008 5:23 pm Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
On Tue, Mar 18, 2008 at 01:01:02AM +0800, Pete Kay wrote:
Quote: | Hi,
It may seems like my lack of audio problem with PlayBack is due to zaptel
setting.
When I tried to start zaptel, I keep getting errors:
debian:/etc/init.d# ./zaptel start
Zaptel telephony kernel driver: ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 223: Unable to register tone zone 'uk'
zaptel.
|
What version of zaptel do you have?
And what version of zaptel is actually in use?
cat /sys/module/zaptel/version
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
Guest
|
Posted: Mon Mar 17, 2008 5:44 pm Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
I agree, seems odd you didn't have a [peername] section for your
softphone in your sip.conf.
aren't 404 errors a likely symptom of this?
Mojo
Steve Totaro wrote:
Quote: | Pete,
You are connecting via a SIP softphone correct? Where is that in your sip.conf?
On Mon, Mar 17, 2008 at 11:42 AM, Pete Kay <petedao at gmail.com> wrote:
Quote: | Hi,
My sip.conf has the allow=gsm as shown in the following:
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
register =>outraspace:password at voipuser.org/outraspace
nat=yes
externip=58.251.75.251
localnet=192.168.1.0/255.255.255.0
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
qualify=yes
All the sound files are in /var/lib/asterisk/sounds instead. Is it correct?
I have tried both Wengo and xlite, but same result.
I can't figure out what caused the 404 error. Any idea?
Thank you so much for your help.
Pete
On Mon, Mar 17, 2008 at 10:34 PM, Anselm Martin Hoffmeister
<anselm at hoffmeister-online.de> wrote:
Quote: | Am Montag, den 17.03.2008, 21:38 +0800 schrieb Pete Kay:
Quote: | Hi,
Here is the SIP debug output for the playback test. Thank you so much
for your help.
| Hi Pete,
Quote: | <------------>
[Mar 18 05:33:08] -- Executing [333 at my-phones:1]
Answer("SIP/2000-081e0738", "") in new stack
[Mar 18 05:33:08] Audio is at 192.168.1.101 port 10028
[Mar 18 05:33:08] Adding codec 0x4 (ulaw) to SDP
[Mar 18 05:33:08] Adding codec 0x8 (alaw) to SDP
[Mar 18 05:33:08] Adding non-codec 0x1 (telephone-event) to SDP
| I do not see "gsm" here. Any reason not to allow that codec? Or did I
miss something? You wrote you enabled it, so it should be here IMO.
Quote: | <--- Transmitting (NAT) to 192.168.1.102:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
|
| 192.168.1.102:5060;branch=z9hG4bK793126083;received=192.168.1.102;rport=5060
Quote: | Quote: | From: 2001 <sip:2001 at 192.168.1.101>;tag=2612560371
To: <sip:ping at 192.168.1.101>;tag=as0ca1ddb0
Call-ID: 2808830214 at 192.168.1.102
CSeq: 20 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Accept: application/sdp
Content-Length: 0
| "404" does not sound good. Please, look which sound files exist on your
system (e.g. what does
find /usr/share/asterisk -file "vm-goodbye*"
say?)
Another point: Which client do you use, is it Wengo or is it Xlite? Or
both? In that case: Any differences?
BR
Anselm
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| _______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
jsmith at digium.com Guest
|
Posted: Wed Mar 19, 2008 8:40 am Post subject: [asterisk-users] Desperately need help with Asterisk setup |
|
|
On Tue, 2008-03-18 at 01:01 +0800, Pete Kay wrote:
Quote: | It may seems like my lack of audio problem with PlayBack is due to
zaptel setting.
|
Yes, you're on the right track here. I'd be willing to bet dollars to
donuts you have a T1/E1 card that's not taking interrupts here. Get
your zaptel.conf file in order (including the span= line), re-run "ztcfg
-vv", and then you should get audio.
--
Jared Smith
Community Relations Manager
Digium, Inc. |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|