[asterisk-users] Incoming sip line with INX (internationalnumber.com)
Hi, I can't get my INX line working for incoming (outgoing is working fine). When I dial this number from my home phone, asterisk sends the call straight to extension 101, for some reason it doens't read what my extensions.conf is saying. I had the same dial plan and same extensions.conf tested with a sip line from another provider and it was working good, so I guess the problem isn't in the dial plan. Also, my server hour is correct. WHAT I WANT: When asterisk answer the call and Im in business hours, the calls goes to a prompt, otherwise it would send the caller to the voicemail. WHAT I GOT: Asterisk doesn't read this, it send the call straight to extension 101. Could anybody please point me the directions to solve this problem? Thank you very much --- SIP.CONF register => number:[EMAIL PROTECTED]/101 ;number is a replacement for my line number [inx] type=peer username=number secret=password fromuser=number host=sip.intlno.com insecure=very disallow=all allow=g729 EXTENSIONS.CONF exten => number,1,GotoIfTime(08:00-16:59|*|*|*?4) exten => number,2,Goto(5) exten => number,3,Set(CALLERID(name)=USALine) exten => number,4,Goto(myprompt,s,1) exten => number,5,Background(danclosed) exten => number,6,Hangup() [myprompt] include => default exten => s,1,Ringing exten => s,2,Background(danprompt) exten => s,3,Wait(10) exten => s,4,Hangup() ;Option 1: english exten => 1,1,Set(CALLERID(name)=English) exten => 1,2,Dial(SIP/101,60,TtrA(danic)) exten => 1,3,Voicemail(su101) exten => 1,4,Hangup() _ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Incoming sip line with INX (internationalnumber.com)
On 09/10/06, Daniel Cyt <[EMAIL PROTECTED]> wrote: Hi, I can't get my INX line working for incoming (outgoing is working fine). When I dial this number from my home phone, asterisk sends the call straight to extension 101, for some reason it doens't read what my extensions.conf is saying. SIP.CONF register => number:[EMAIL PROTECTED]/101 ;number is a replacement for my line number Didn't you think that the '101' there might be a clue? Your register statement tells the provider to deliver the call to '101'. Replace that with a different number and something different will happen - perhaps the rest of your dialplan is expecting the call to come in with a destination which matches your DID - in which case, put the DID number there instead of the 101. Peter -- Peter Bowyer Email: [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Incoming sip line with INX(internationalnumber.com)
Hi Peter, Thank you for your answer. I did: register => DID:[EMAIL PROTECTED]/DID exten => DID,1,... Now when I call the DID number It doesnt reach the Asterisk. sip show registry shows me the line is registered but when I dial out from my softphone (eyeBeam) I get the "500 error - disconnected" and the message "the person you are calling is unavailable". Please, what do you suggest me to do? From: "Peter Bowyer" <[EMAIL PROTECTED]> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion To: "Asterisk Users Mailing List - Non-Commercial Discussion" Subject: Re: [asterisk-users] Incoming sip line with INX(internationalnumber.com) Date: Mon, 9 Oct 2006 08:48:58 +0100 On 09/10/06, Daniel Cyt <[EMAIL PROTECTED]> wrote: Hi, I can't get my INX line working for incoming (outgoing is working fine). When I dial this number from my home phone, asterisk sends the call straight to extension 101, for some reason it doens't read what my extensions.conf is saying. SIP.CONF register => number:[EMAIL PROTECTED]/101 ;number is a replacement for my line number Didn't you think that the '101' there might be a clue? Your register statement tells the provider to deliver the call to '101'. Replace that with a different number and something different will happen - perhaps the rest of your dialplan is expecting the call to come in with a destination which matches your DID - in which case, put the DID number there instead of the 101. Peter -- Peter Bowyer Email: [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Incoming sip line with INX(internationalnumber.com)
On 09/10/06, Daniel Cyt <[EMAIL PROTECTED]> wrote: Hi Peter, Thank you for your answer. I did: register => DID:[EMAIL PROTECTED]/DID exten => DID,1,... Now when I call the DID number It doesnt reach the Asterisk. sip show registry shows me the line is registered but when I dial out from my softphone (eyeBeam) I get the "500 error - disconnected" and the message "the person you are calling is unavailable". Please, what do you suggest me to do? Have you matched up the 'context= ' entry for your SIP provider in sip.conf with the right context in extensions.conf where the 'exten => DID' is? Do a sip debug and see what it's telling you about the call, post it here if it doesn't help. Peter -- Peter Bowyer Email: [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users