[asterisk-users] configure my voip provider

Administrator TOOTAI admin at tootai.net
Mon Mar 5 02:50:57 CST 2012


Le 05/03/2012 07:37, Baha @ SH a écrit :
>
> Hello all,
>
> I am trying to configure my voip provider on asterisk box, I cannot 
> get the right configuration after trying many possibilities, always 
> getting circuits busy ,message, please let me know the meaning of the 
> debug message.
>
> And by the way, when I use a normal sip phone, I can dial normally, no 
> problems.
>
> First my config:
>

What is the [...] part?

> host=xx.xx.xx.xx
>
> username=8111488569
>
> secret=abcd
>
> fromuser=8111488569
>
> type=user
>

type=peer as you call them.

> allow=ulaw&alaw&gsm&g726
>
> canreinvite=no
>
> dtmfmode=inband
>
> qualify=1000
>
> insecure=very
>
> I also have registeration string:
>
> 8111488569:abcd at xx.xx.xx.xx/8111488569
>
> And my status on asterisk is registered.
>
> My debug:
>
> Mar 5 04:42:04
>
> 	
>
> VERBOSE
>
> 	
>
> [20042] pbx.c:
>
> 	
>
> -- Executing [s at macro-dialout-trunk:19] Dial("SIP/1001-00000004", 
> "SIP/8111488569/0505103250,300,") in new stack
>
> Mar 5 04:42:04
>
> 	
>
> VERBOSE
>
> 	
>
> [20042] netsock2.c:
>
> 	
>
> == Using SIP RTP TOS bits 184
>
> Mar 5 04:42:04
>
> 	
>
> VERBOSE
>
> 	
>
> [20042] netsock2.c:
>
> 	
>
> == Using SIP RTP CoS mark 5
>
> Mar 5 04:42:04
>
> 	
>
> ERROR
>
> 	
>
> [20042] netsock2.c:
>
> 	
>
> getaddrinfo("8111488569", "(null)", ...): Name or service not known
>
> Mar 5 04:42:04
>
> 	
>
> WARNING
>
> 	
>
> [20042] chan_sip.c:
>
> 	
>
> No such host: 8111488569
>

You call your account number, not your provider IP

Regards

-- 
Daniel



More information about the asterisk-users mailing list