I am looking for help with the following:
I currently have Openser Asterisk and FreePBX installed and running just fine. I have phones that are registered with Openser which is on one box, I also have Asterisk which is on another box and finally I have FreePBX installed and running on a third box. I am having a problem with the following:
- I am trying to send the call to FreePBX anytime someone dials a *8 to go out the PSTN trunk groups that I have. Right now when I try to send the call from Openser to FreePBX I get the following messages on the console so my call is making it to FreePBX but it looks like FreePBX doesn’t know what to do with the call. Here is my log:
– Executing NoOp(“SIP/192.168.1.175-08eb7340”, “Received incoming SIP connection from unknown peer to 96794399”) in new stack
– Executing Set(“SIP/192.168.1.175-08eb7340”, “DID=96794399”) in new stack
– Executing Goto(“SIP/192.168.1.175-08eb7340”, “s|1”) in new stack
– Goto (from-sip-external,s,1)
– Executing GotoIf(“SIP/192.168.1.175-08eb7340”, “0?from-trunk|96794399|1”) in new stack
– Executing Set(“SIP/192.168.1.175-08eb7340”, “TIMEOUT(absolute)=15”) in new stack
– Channel will hangup at 2007-08-29 00:03:47 UTC.
– Executing Answer(“SIP/192.168.1.175-08eb7340”, “”) in new stack
– Executing Wait(“SIP/192.168.1.175-08eb7340”, “2”) in new stack
– Executing Playback(“SIP/192.168.1.175-08eb7340”, “ss-noservice”) in new stack
– Playing ‘ss-noservice’ (language ‘en’)
== Spawn extension (from-sip-external, s, 5) exited non-zero on ‘SIP/192.168.1.175-08eb7340’
– Executing NoOp(“SIP/192.168.1.175-08eb7340”, “Hangup”) in new stack
– Executing Set(“SIP/192.168.1.175-08eb7340”, “DID=s”) in new stack
– Executing Goto(“SIP/192.168.1.175-08eb7340”, “s|1”) in new stack
– Goto (from-sip-external,s,1)
– Executing GotoIf(“SIP/192.168.1.175-08eb7340”, “0?from-trunk|s|1”) in new stack
– Executing Set(“SIP/192.168.1.175-08eb7340”, “TIMEOUT(absolute)=15”) in new stack
– Channel will hangup at 2007-08-29 00:03:50 UTC.
– Executing Answer(“SIP/192.168.1.175-08eb7340”, “”) in new stack
== Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/192.168.1.175-08eb7340’
pbx*CLI>
When I send the call I appened the 9 so it can get a local line. I see the call in the above but I don’t know what to setup in FreePBX. I have tried to add a peer, I have tried to add a SIP trunk, but no luck. When I add a a PEER statement in SIP.CONF like the following, I don’t get the error above, but I get an announcement that says the person is unavailable??
[openser]
type=friend
context=default
host=192.168.1.175
insecure=very
All I would FreePBX to do when the call arrives is send it out my Zap trunks.
Any help would be great as I have everything else working, from voicemail to Instant messaging to calling one another from sip to sip.
Thanks,
Cliff