[Freeswitch-users] span not defined error
Moises Silva
moises.silva at gmail.com
Sat May 15 15:18:21 PDT 2010
Why do you have 2 spans in openzap.conf.xml with the same name, in both the
boost and analog sections?
Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
Canada
t. 1 905 474 1990 x 128 | e. moy at sangoma.com
On Sat, May 15, 2010 at 3:52 PM, Neil Patel <neilp at cs.stanford.edu> wrote:
> 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
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100515/aa2ddf1d/attachment.html
More information about the FreeSWITCH-users
mailing list