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@sangoma.com
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 available2010-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_pridtrunk_type =>e1b-channel => 1:1-15b-channel => 1:17-31trunk_type =>e1b-channel => 2:1-15b-channel => 2:17-31This 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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org