[Freeswitch-users] outbound calling error: multiple PRIs with Sangoma + FS

Neil Patel neilp at cs.stanford.edu
Thu Oct 7 05:52:22 PDT 2010


Hi All,

I am having a problem getting outbound calls to connect on one of my two PRI
lines connected to FS via a Sangoma A102 card. Here are my config files:

Bottom of /etc/wanpipe/smg_pri.conf:

*;AFT-A102 on port 1
signalling=pri_cpe
switchtype=euroisdn
group=1
spans=1

;AFT-A102 on port 2
signalling=pri_cpe
switchtype=euroisdn
group=2
spans=2

*
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*

autoload_configs/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 output from FS CLI. Note that the PRI line connected to
port 2 (g2) works great; it is g1 that is producing the NO_ROUTE_DESTINATION
error:

*freeswitch at otalo> originate openzap/smg_prid/a/958655XXXX at g1 &echo*
2010-10-07 18:08:25.273814 [WARNING] ozmod_sangoma_boost.c:344 TX EVENT:
CALL_START:(80) [w1g1] CSid=5 Seq=41 Cn=[N/A] Cd=[958655XXXX] Ci=[N/A]
Rdnis=[]
2010-10-07 18:08:25.306941 [WARNING] ozmod_sangoma_boost.c:1632 RX EVENT
(N): CALL_START_ACK:(81) [w1g1] Rc=0 CSid=5 Seq=34
2010-10-07 18:08:25.307953 [NOTICE] switch_channel.c:675 New Channel
OpenZAP/1:1/958655XXXX at g1 [c4305297-3a6e-4bd8-a25c-71e96da6b77d]
2010-10-07 18:08:25.411216 [WARNING] ozmod_sangoma_boost.c:1632 RX EVENT
(N): CALL_STOPPED:(85) [w1g1] Rc=3 CSid=5 Seq=35
2010-10-07 18:08:25.411216 [NOTICE] mod_openzap.c:1935 Hangup
OpenZAP/1:1/958655XXXX at g1 [CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION]

-ERR NO_ROUTE_DESTINATION

2010-10-07 18:08:25.412218 [NOTICE] switch_core_session.c:1188 Session 16
(OpenZAP/1:1/958655XXXX at g1) Ended
2010-10-07 18:08:25.412218 [NOTICE] switch_core_session.c:1190 Close Channel
OpenZAP/1:1/958655XXXX at g1 [CS_DESTROY]
2010-10-07 18:08:25.441373 [WARNING] sangoma_boost_client.c:221 TX EVENT
(N): CALL_STOPPED_ACK:(86) [w1g1] Rc=0 CSid=0 Seq=42
*freeswitch at otalo> originate openzap/smg_prid/a/958655XXXX at g2 &echo*
2010-10-07 18:08:30.199197 [WARNING] ozmod_sangoma_boost.c:344 TX EVENT:
CALL_START:(80) [w1g1] CSid=6 Seq=43 Cn=[N/A] Cd=[958655XXXX] Ci=[N/A]
Rdnis=[]
2010-10-07 18:08:30.263078 [WARNING] ozmod_sangoma_boost.c:1632 RX EVENT
(N): CALL_START_ACK:(81) [w2g1] Rc=0 CSid=6 Seq=36
2010-10-07 18:08:30.264081 [NOTICE] switch_channel.c:675 New Channel
OpenZAP/1:31/958655XXXX at g2 [fe1dad03-1086-4d56-bc55-62563e170a78]
2010-10-07 18:08:30.493273 [WARNING] ozmod_sangoma_boost.c:1632 RX EVENT:
CALL PROGRESS:(50) [w2g1] CSid=6 Seq=37 Cn=[N/A] Cd=[N/A] Ci=[N/A] Rdnis=[]
2010-10-07 18:08:30.493273 [NOTICE] mod_openzap.c:1962 Pre-Answer
OpenZAP/1:31/958655XXXX at g2!

+OK fe1dad03-1086-4d56-bc55-62563e170a78

I don't notice much going on in /var/log/sangoma_mgd.log or
/var/log/messages, but then again I'm not sure what to look for. Any
guidance would be greatly appreciated!
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101007/0121b302/attachment-0001.html 


More information about the FreeSWITCH-users mailing list