Koozali.org: home of the SME Server

Question about Truk setup

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Question about Truk setup
« on: March 30, 2009, 04:29:16 AM »
I'm doing some testing and came across one thing.

When I try and setup a eg:12voip sip trunk ... it won't let me do it.

It just says Trunk Name Not Entered.

I don't have any other trunk setup except a sail to Sail trunk.

Do I require a proper hardware trunk before it will allow me to setup sip trunks?

Regards,

Tib

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Question about Truk setup
« Reply #1 on: March 30, 2009, 06:29:59 AM »
Which version of SAIL or FreePBX are we talking about here? Did it work previously?

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Question about Truk setup
« Reply #2 on: March 30, 2009, 06:56:39 AM »
David is right Tib - we need more info than you have given...

I've found the error message you refer to but it can be generated for several different reasons...

Which carrier did you choose?  (general SIP perhaps?)

What did you fill out on the trunk create panel?  i.e What values did you enter?

Best

S

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Question about Truk setup
« Reply #3 on: March 30, 2009, 07:05:06 AM »
Sorry about that

Version: sail-2.2.1-719

Carrier is one I use in live : 12Voip

sip.12voip.com

In  carriers [peer]
Quote
type=peer
host=
qualify=3000
canreinvite=no
username=
fromuser=
secret=


Regards,

Tib

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Question about Truk setup
« Reply #4 on: March 30, 2009, 07:10:34 AM »
Wouldn't you need to specify the username (& I assume password) to the SIP server before it lets you connect?

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Question about Truk setup
« Reply #5 on: March 30, 2009, 07:12:10 AM »
OK - so this must be a carrier you yourself have ceated.  I still need to know what you filled out in the trunk create screen.... This screen

http://sarkpbx.com/twiki/images/V2.0/trunknewstd.jpg


Best

S




Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Question about Truk setup
« Reply #6 on: March 30, 2009, 07:12:29 AM »
This same setup works fine in my live machine ... but in the live machine I have a number if trunks setup.

12voip being one of them and all works well.

And yes the user name and password is setup correctly in the trunk .. the example was the carrier setup not trunk.

The Live machine I have is Version: sail-2.2.1-718.

Also in the live machine I have an SPA3000 FXO setup as a trunk.

Regards,

Tib

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Question about Truk setup
« Reply #7 on: March 30, 2009, 07:15:14 AM »
the settings I had were

Trunk Name: peer12voip
Carrier's URL/IP Address: sip.12voip.com
Username : myusername
Password : mypassword

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Question about Truk setup
« Reply #8 on: March 30, 2009, 07:20:54 AM »
I re do that

Trunk Name: 12voip
Carrier's URL/IP Address: sip.12voip.com
Username : myusername
Password : mypassword

peer12voip is what comes up later in trunks display

Regards,

Tib

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Question about Truk setup
« Reply #9 on: March 30, 2009, 07:22:15 AM »
What did you put in the peer stanza name ?  There are 5 values to fill in and you've only given me 4

S

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Question about Truk setup
« Reply #10 on: March 30, 2009, 07:26:11 AM »
I don't have that on my list

all I have is :
Trunk Name:
DiD Number:    
Carrier's URL/IP Address:    
Username :    
Password :    

Regards,

Tib

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Question about Truk setup
« Reply #11 on: March 30, 2009, 07:27:58 AM »
Does .. Peer stanza label = DiD Number:

in that case I didn't put anything in there

Regards,

Tib

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Question about Truk setup
« Reply #12 on: March 30, 2009, 07:30:51 AM »
....and that's why it is failing.

put the inbound telephone number in their, or the username.. Doesn't matter which.  Should cure your problem.

S

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Question about Truk setup
« Reply #13 on: March 30, 2009, 07:32:44 AM »
ok .. figured it out now

Trunk Name: peer12voip
DiD Number: 12voip
Carrier's URL/IP Address: sip.12voip.com
Username : myusername
Password :    mypassword

and it connects up as well

Thanks for the brain jog  :grin:

Regards,

Tib