View previous topic :: View next topic |
Author |
Message |
lakindia89 at gmail.com Guest
|
Posted: Tue Oct 06, 2009 5:37 am Post subject: [Freeswitch-users] Outgoing via openzap is not working |
|
|
Hi I'm using freeswitch1.0.4. This post is moreover similar to my previous post.
When I make an outgoing call, it is saying INVALID_IE_CONTENTS.
Here are the details.
openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="7"/>
</settings>
<libpri_spans>
<span name="PRI_1">
<param name="node" value="cpe"/>
<param name="switch" value="euroisdn"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</libpri_spans>
</configuration>
openzap.conf
[span zt PRI_1]
trunk_type => e1
b-channel => 1:1-15
d-channel=> 1:16
b-channel => 1:17-31
oz libpri debug 1 all
API CALL [oz(libpri debug 1 all)] output:
src/ozmod/ozmod_libpri/ozmod_libpri.c: +OK debug set.
oz list
API CALL [oz(list)] output:
+OK
span: 1 (PRI_1)
type: isdn
chan_count: 47
dialplan: XML
context: default
dial_regex:
fail_dial_regex:
hold_music:
analog_options none
Freeswitch startup log:
http://pastebin.freeswitch.org/10609
After saying originate openzap/1/1/9952248266 openzap/1/1/9952248266
http://pastebin.freeswitch.org/10610
Please help me to solve this. |
|
Back to top |
|
|
Russell.Mosemann at cu... Guest
|
Posted: Tue Oct 06, 2009 8:09 am Post subject: [Freeswitch-users] Outgoing via openzap is not working |
|
|
lakshmanan ganapathy <lakindia89@gmail.com> said:
Quote: | When I make an outgoing call, it is saying INVALID_IE_CONTENTS.
Here are the details.
|
There are a couple of things that might be OK, but they seem odd. When
ozmod starts, the first 15 channels can't be configured, because they are
busy. The output from "oz list" shows 47 channels, as if 15 channels are
added to the E1's 31 channels (and one control channel). When libpri is
checking the numbers, it shows the caller's number as '0000000000'.
The output from libpri shows that the call is being released by the other
side of the E1 because of a protocol error involving the redirecting
number (invalid contents). My guess is that you aren't providing a valid
caller number, but I could be completely wrong. Someone with more
experience will need to interpret the information. I don't see the
originate command in the debug output. Did you supply both the calling
and called number?
http://wiki.freeswitch.org/wiki/Mod_commands#originate
--
Russell Mosemann
________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Oct 06, 2009 11:51 am Post subject: [Freeswitch-users] Outgoing via openzap is not working |
|
|
On Tue, Oct 6, 2009 at 3:30 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote: | Hi I'm using freeswitch1.0.4. This post is moreover similar to my previous post.
When I make an outgoing call, it is saying INVALID_IE_CONTENTS.
Here are the details.
openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="7"/>
</settings>
<libpri_spans>
<span name="PRI_1">
<param name="node" value="cpe"/>
<param name="switch" value="euroisdn"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</libpri_spans>
</configuration>
openzap.conf
[span zt PRI_1]
trunk_type => e1
b-channel => 1:1-15
d-channel=> 1:16
b-channel => 1:17-31
oz libpri debug 1 all
API CALL [oz(libpri debug 1 all)] output:
src/ozmod/ozmod_libpri/ozmod_libpri.c: +OK debug set.
oz list
API CALL [oz(list)] output:
+OK
span: 1 (PRI_1)
type: isdn
chan_count: 47
dialplan: XML
context: default
dial_regex:
fail_dial_regex:
hold_music:
analog_options none
Freeswitch startup log:
http://pastebin.freeswitch.org/10609
After saying originate openzap/1/1/9952248266 openzap/1/1/9952248266
|
Can you confirm your originate line? What you type above is incorrect syntax. Correct syntax:
openzap/1/a/99522448266 1234
Where the 'a' means select first available b chan and the 1234 is just an extension number. You can put any number that works for your dialplan. The originate command originates a call leg and then connects it to a second call leg in the dialplan. Make sure that you are using this command properly before continuing your debugging.
-MC
|
|
Back to top |
|
|
|