×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Asterisk sip trunk to LG iPECS

Asterisk sip trunk to LG iPECS

Asterisk sip trunk to LG iPECS

(OP)
Hi

i am having problems setting up a sip trunk between a LG iPECS UCP 100 to a AsteriskNOW server

i can call from the Asterisk server to the iPECS with now problems but when i dial from the iPECS to the asterisk in comes up on the display normal clearing and drops the call

i know this probably a setting in the asterisk server but if some one can help it would much appreciated

i use the web GUI so if you give me pointer for this as i don't have a clue when it comes to command line

thanks

RE: Asterisk sip trunk to LG iPECS

eddiebullman,
it sounds like maybe there isn't an extension (or pattern match) setup to catch calls in the context that you have your sip trunk set in. Do you know how many digits your LG system is sending across the trunk?

if 4 it could be as simple as something like

CODE -->

exten => _XXXX,1,Goto(usercontext,${EXTEN},1) 

where "usercontext" is whatever context your endpoints are set in.

Alternatively, and I'm not sure if this is a good practice or not, you could probably just point your SIP trunk to whatever context your extensions are in and so long as what the other system is passing matches the extension number it should connect the call.

I'm used to CLI so I'm not sure how to tell you to do this in the GUI but I'll give it a shot if this doesn't help.


Edit: If you need to do some digit manipulation (like say your extensions on Asterisk side are 4 digits and your LG system is sending 7 or 10 or whatever I can help with that. Not tough on CLI. I'll see about downloading Asterisk NOW in a VM and try and figure out how the GUI interacts with the flat files.


www.ghtrout.net

RE: Asterisk sip trunk to LG iPECS

(OP)
Hi

this is what i have set on the trunk






if you could help with this it would be great

thanks

RE: Asterisk sip trunk to LG iPECS

Ok, can you post one of the endpoints you're trying to call to as well. not being able to take a look at the system myself we'll have to figure a way to get some CLI data of a call that failed to try and figure out what's amiss. I'm installing AsteriskNOW in vmware as I type this so hopefully that will allow me to be able to point you in the right direction to get the info to troubleshoot.
-Drew

www.ghtrout.net

RE: Asterisk sip trunk to LG iPECS

Depending on your current log settings we might be able to just pull historical data if they are verbose enough to tell what happened. Will respond again in a bit when I get the system up and familiarize myself with the GUI. Could walk you through the command line version easily but I'm not yet familiar with freepbx interface. Hopefully there's a way to watch the Asterisk command line and see the call flow real-time. I imagine it's just a case of either wrong context or one system sending one thing and the other expecting something else.

www.ghtrout.net

RE: Asterisk sip trunk to LG iPECS

Alright, I've found how to find the info we need. Go ahead and make a call that will fail so it'll be fresh in the logs. Then in the freepbx webgui click on "Reports" at the top and scroll down to "Asterisk Log Files"

You should see the "File" box at top says "full"

Highlight and select all 500 lines (hopefully that's enough if the call was made just before you pulled the logs) and copy and paste that into some sort of pastebin. I personally use https://hastebin.com/ for most things or https://pastie.se/ if I'm feeling more paranoid. Hastebin is supposed to disappear after 30 days though so probably fine too.

www.ghtrout.net

RE: Asterisk sip trunk to LG iPECS

(OP)
Hi ddickenson

thanks for the reply i will have a go at what you said when i am back at work which is 26/04/17 will chat then and once again thanks

Eddie

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close