[Freeswitch-users] span not defined error

Tom tomb at cachecomm.com
Mon May 17 07:18:48 PDT 2010


Neil Patel 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
>   
Neil,
Which card are you using?

Tom



More information about the FreeSWITCH-users mailing list