[Freeswitch-users] span not defined error
Neil Patel
neilp at cs.stanford.edu
Sat May 15 12:52:50 PDT 2010
Hi All,
I am trying to dial out over my PRI, and am getting this error:
2010-05-16 01:01:21.452392 [CRIT] zap_io.c:1139 SPAN NOT DEFINED!
2010-05-16 01:01:21.452392 [ERR] mod_openzap.c:1154 No channels available
2010-05-16 01:01:21.452392 [ERR] switch_ivr_originate.c:2249 Cannot create
outgoing channel of type [OpenZAP] cause: [NORMAL_CIRCUIT_CONGESTION]
This is my openzap.conf:
[span wanpipe smg_prid]
name => smg_prid
trunk_type =>e1
b-channel => 1:1-15
b-channel => 1:17-31
trunk_type =>e1
b-channel => 2:1-15
b-channel => 2:17-31
This is my openzap.conf.xml:
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="0"/>
</settings>
<boost_spans>
<span id="smg_prid">
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</boost_spans>
<analog_spans>
<span id="smg_prid">
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</analog_spans>
</configuration>
And here is the lua code I'm using to dial out:
sessiondata = "OpenZAP/smg_prid/<num>"
new_session = freeswitch.Session(sessiondata)
What am I missing here?
Thanks,
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100515/63d168b1/attachment.html
More information about the FreeSWITCH-users
mailing list