Re: RE: [Asterisk-Users] Re:Some SIP questions AGAIN
Hi Edwin! (and everybody) I have some questions about SIP, as I wrote in another mail. I have a SIP Gateway and I have two phones conected to it.Also, I have two Dlink dg102s with four phones conected to them. The main problems are two. Calls between the phones conected to the SIP GW and the ones conected to the MGCP GW goes OK ONLY if I call from the MGCP to the SIP. Phones at MGCP can call without problems to the PSTN (voice quality isn't very good, with silence times, but it can be supported!). But phones at SIP can't do any call! The problem is that when I pick up the callee phone, I don't hear nothing and the call goes off inbetween 4 or 5 seconds. And the caller (SIP) doesn't realise I have picked up, because It's still hearing the calling tone.When the call goes off, the caller hear the congestion tone. I don't know what is the problem I can't achive to transfer calls. When I dial #, it doesn't happen anything!! And the callerID doesn't work either. My sip.conf: [general] port = 5060 bindaddr = 0.0.0.0 context = default transfer = yes threewaycalling = yes usecallerid = yes hidecallerid = no [sip] type=friend callerid=sip username=sip host=188.208.12.37 accountcode=sip My extensions.conf exten = ,1,dial,SIP/[EMAIL PROTECTED]|60|rTt exten = ,2,Hangup Thanks very much for any help!!! Bye Michelle Nat=1 is so that mgcp functions properly behind a NAT gateway. What kind of problems are you having with your SIP? What type of SIP phone do you have? Can you elaborate a little more or even post you SIP.conf? Here's what ours looks like so you can do a comparison: Sip.conf --- ; ; SIP Configuration for Asterisk ; [general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to context = sipstart ; Default for incoming calls tos = lowdelay [sip_phone] type=friend username=sip_phone secret=sip_phone host=dynamic nat=1 -Original Message- From: href=javascript:sendMsg ('asterisk-users- asterisk-users- [EMAIL PROTECTED]');[EMAIL PROTECTED]');asterisk-users- [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED]');[EMAIL PROTECTED]');[mailto:asterisk- [EMAIL PROTECTED] On Behalf Of michelle matis litio Sent: Wednesday, June 11, 2003 12:12 PM To: asterisk- [EMAIL PROTECTED]');[EMAIL PROTECTED]');asterisk- [EMAIL PROTECTED] Subject: [Asterisk-Users] Re:Some SIP questions AGAIN Hi Edwin I have my mgcp.conf almost the same as yours, except from nat=1 , why do you put it? Anyway, DL102s now works more or less acceptably so now I'm having a battle with sip.conf Thank you for your help Michelle - Tu cuenta de correo gratuita Mixmail http://mixmail.ya.com/app/message?l=eso=8url=http% 3A%2F%2Fmixmail%2Eya%2Ecom target=_blankhttp://mixmail.ya.com Ya.com ADSL Home 24 h, Módem + Alta ¡Gratis! href=http://mixmail.ya.com/app/message?l=eso=8url=http%3A% 2F%2Facceso%2Eya%2Ecom%2Fadslhome24h%2F target=_blankhttp://acceso.ya.com/adslhome24h/ ___ Asterisk- Users mailing list Asterisk- [EMAIL PROTECTED]');[EMAIL PROTECTED]');Asterisk- [EMAIL PROTECTED] href=http://mixmail.ya.com/app/message? l=eso=8url=http%3A% 2F%2Flists%2Edigium%2Ecom%2Fmailman%2Flistinfo%2Fasterisk% 2Dusers target=_blankhttp://lists.digium.com/mailman/listinfo/asterisk- users ___ Asterisk-Users mailing list http://lists.digium.com/mailman/listinfo/asterisk- ');[EMAIL PROTECTED]http://lists.digium.com/mailman/listinfo/asterisk- [EMAIL PROTECTED]');users');Asterisk- [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users - - Tu cuenta de correo gratuita Mixmail http://mixmail.ya.com Ya.com ADSL Home 24 h, Módem + Alta ¡Gratis! http://acceso.ya.com/adslhome24h/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: RE: [Asterisk-Users] Re:Some SIP questions AGAIN
Hi everybody one more time! I also have done a SIP debug and that's an extract of what I have found: (...) s=session c=IN IP4 188.208.12.237 t=0 0 =audio 13532 RTP/AVP 0 a=rtpmap:0 PCMU/8000 to 229.159.241.112:5060 Retransmitting #5 (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 229.159.241.112:5060 ;branch=z9hG4bK-3a5246f7- 8c6b606-10eb From: sip:[EMAIL PROTECTED]:5060 ;tag=0-13c4-3a5246f7-8c6b604-c3a To: sip:[EMAIL PROTECTED];tag=as52ed0a6a Call-ID: [EMAIL PROTECTED] CSeq: 1 INVITE User-Agent: Asterisk PBX Contact: sip:[EMAIL PROTECTED] Content-Type: application/sdp Content-Length: 135 v=0 o=root 11673 11673 IN IP4 188.208.12.237 s=session c=IN IP4 188.208.12.237 t=0 0 =audio 13532 RTP/AVP 0 a=rtpmap:0 PCMU/8000 to 229.159.241.112:5060 -- Hungup 'IAX2[test]/1' == Spawn extension (default, , 1) exited non-zero on 'SIP/229.159.241.112:5 060' set_destination: Parsing sip:[EMAIL PROTECTED]:5060 for address/port to send t o set_destination: set destination to 188.208.12.37, port 5060 Reliably Transmitting: BYE sip:[EMAIL PROTECTED]:5060 SIP/2.0 Via: SIP/2.0/UDP 188.208.12.237:5060;branch=z9hG4bK6723148d From: sip:[EMAIL PROTECTED];tag=as52ed0a6a To: sip:[EMAIL PROTECTED]:5060 ;tag=0-13c4-3a5246f7-8c6b604-c3a Contact: sip:[EMAIL PROTECTED] Call-ID: [EMAIL PROTECTED] CSeq: 102 BYE User-Agent: Asterisk PBX Content-Length: 0 (no NAT) to 188.208.12.37:5060 Sip read: SIP/2.0 200 OK From: sip:[EMAIL PROTECTED] To: sip:[EMAIL PROTECTED]:5060 ;tag=0-13c4-3a5246f7-8c6b604-c3a Call-ID: [EMAIL PROTECTED] CSeq: 102 BYE Via: SIP/2.0/UDP 188.208.12.237:5060 ;received=188.208.12.237 ;branch=z9hG4bK67231 48d Content-Length:0 7 headers, 0 lines Message is BYE I can't understand why the out of SIP messages go to an IP so strange!!! (229...) Any ideas? I've just sent my sip.conf and all in the previous message. Hope someone can help!! greetings michelle PD:188.208.12.237 is the asterisk IP Michelle wrote: Hi Edwin! (and everybody) I have some questions about SIP, as I wrote in another mail. I have a SIP Gateway and I have two phones conected to it.Also, I have two Dlink dg102s with four phones conected to them. The main problems are two. Calls between the phones conected to the SIP GW and the ones conected to the MGCP GW goes OK ONLY if I call from the MGCP to the SIP. Phones at MGCP can call without problems to the PSTN (voice quality isn't very good, with silence times, but it can be supported!). But phones at SIP can't do any call! The problem is that when I pick up the callee phone, I don't hear nothing and the call goes off inbetween 4 or 5 seconds. And the caller (SIP) doesn't realise I have picked up, because It's still hearing the calling tone.When the call goes off, the caller hear the congestion tone. I don't know what is the problem I can't achive to transfer calls. When I dial #, it doesn't happen anything!! And the callerID doesn't work either. My sip.conf: [general] port = 5060 bindaddr = 0.0.0.0 context = default transfer = yes threewaycalling = yes usecallerid = yes hidecallerid = no [sip] type=friend callerid=sip username=sip host=188.208.12.37 accountcode=sip My extensions.conf exten = ,1,dial,SIP/[EMAIL PROTECTED]|60|rTt exten = ,2,Hangup Thanks very much for any help!!! Bye Michelle ;-Original Message- gt;From: A href=javascript:sendMsg('asterisk-users- [EMAIL PROTECTED]');[EMAIL PROTECTED]/A gt;A href=javascript:sendMsg('[mailto:asterisk-users- [EMAIL PROTECTED]');[mailto:[EMAIL PROTECTED] /A On Behalf Of michelle gt;matis litio gt;Sent: Wednesday, June 11, 2003 12:12 PM gt;To: A href=javascript:sendMsg('asterisk- [EMAIL PROTECTED]');[EMAIL PROTECTED]/A gt;Subject: [Asterisk-Users] Re:Some SIP questions AGAIN gt;Hi Edwin gt;I have my mgcp.conf almost the same as yours, except from nat=1 , why gt;do you put it? gt;Anyway, DL102s now works more or less acceptably so now I'm having a gt;battle with sip.conf gt;Thank you for your help gt;Michelle gt;- gt;Tu cuenta de correo gratuita Mixmail A href=http://mixmail.ya.com/app/message?l=esamp;o=8amp;url=http% 3A%2F%2Fmixmail%2Eya%2Ecom target=_blankhttp://mixmail.ya.com/A Ya.com ADSL gt;Home 24 h, Módem + Alta ¡Gratis! A href=http://mixmail.ya.com/app/message?l=esamp;o=8amp;url=http%3A% 2F%2Facceso%2Eya%2Ecom%2Fadslhome24h%2F target=_blankhttp://acceso.ya.com/adslhome24h//A gt;___ gt;Asterisk- Users mailing list gt;A href=javascript:sendMsg('Asterisk- [EMAIL PROTECTED]');[EMAIL PROTECTED]/A gt;A href=http://mixmail.ya.com/app/message?l=esamp;o=8amp;url=http%3A% 2F%2Flists%2Edigium%2Ecom%2Fmailman%2Flistinfo%2Fasterisk% 2Dusers target=_blankhttp://lists.digium.com/mailman/listinfo/asterisk- users/A gt;___ gt;Asterisk-Users mailing list gt;A href=javascript:sendMsg('Asterisk- [EMAIL PROTECTED]http://lists.digium.com/mailman/listinfo/asterisk- users');[EMAIL PROTECTED]
RE: [Asterisk-Users] Re:Some SIP questions AGAIN
Nat=1 is so that mgcp functions properly behind a NAT gateway. What kind of problems are you having with your SIP? What type of SIP phone do you have? Can you elaborate a little more or even post you SIP.conf? Here's what ours looks like so you can do a comparison: Sip.conf --- ; ; SIP Configuration for Asterisk ; [general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to context = sipstart ; Default for incoming calls tos = lowdelay [sip_phone] type=friend username=sip_phone secret=sip_phone host=dynamic nat=1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of michelle matis litio Sent: Wednesday, June 11, 2003 12:12 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Re:Some SIP questions AGAIN Hi Edwin I have my mgcp.conf almost the same as yours, except from nat=1 , why do you put it? Anyway, DL102s now works more or less acceptably so now I'm having a battle with sip.conf Thank you for your help Michelle - Tu cuenta de correo gratuita Mixmail http://mixmail.ya.com Ya.com ADSL Home 24 h, Módem + Alta ¡Gratis! http://acceso.ya.com/adslhome24h/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users