[Freeswitch-users] Cannot make calls through PRI via wanpipe running as daemon
Michael Collins
msc at freeswitch.org
Fri Feb 26 11:28:28 PST 2010
On Thu, Feb 25, 2010 at 5:16 PM, Robert Hadley <robert.hadley at teotech.com>wrote:
> When running Freeswitch as service called teoswitch as user teoswitch I
> cannot make calls through the Sangoma PRI or analog cards using wanpipe
> driver. I have added a file called 30-wanpipe.rules to /etc/udev/rules.d
> and rebooted the server.
>
>
>
> cat 30-wanpipe.rules
>
> # /etc/udev/rules.d/30-wanpipe.rules
>
> SUBSYSTEM=="wptdm", OWNER="teoswitch", GROUP="teoswitch", MODE="0660"
>
> SUBSYSTEM=="wanpipe", OWNER="teoswitch", GROUP="teoswitch", MODE="0660"
>
>
>
>
>
> Freeswitch log:
>
> Dialplan: sofia/internal/5410 at 192.168.72.45:5060 parsing
> [default->SangomaPRI] continue=false
>
> Dialplan: sofia/internal/5410 at 192.168.72.45:5060 Regex (PASS) [SangomaPRI]
> destination_number(93491045) =~ /^9(\d+)$/ break=on-false
>
> Dialplan: sofia/internal/5410 at 192.168.72.45:5060 Action
> set(effective_caller_id_number=425740${caller_id_number})
>
> Dialplan: sofia/internal/5410 at 192.168.72.45:5060 Action
> bridge(openzap/smg_prid/a/3491045 at g1)
>
> 2010-02-25 16:51:11.328635 [DEBUG] switch_core_state_machine.c:122
> (sofia/internal/5410 at 192.168.72.45:5060) State Change CS_ROUTING ->
> CS_EXECUTE
>
> 2010-02-25 16:51:11.328635 [DEBUG] switch_core_session.c:1019 Send signal
> sofia/internal/5410 at 192.168.72.45:5060 [BREAK]
>
> 2010-02-25 16:51:11.328635 [DEBUG] switch_core_state_machine.c:341
> (sofia/internal/5410 at 192.168.72.45:5060) State ROUTING going to sleep
>
> 2010-02-25 16:51:11.328635 [DEBUG] switch_core_state_machine.c:314
> (sofia/internal/5410 at 192.168.72.45:5060) Running State Change CS_EXECUTE
>
> 2010-02-25 16:51:11.328635 [DEBUG] switch_core_state_machine.c:348
> (sofia/internal/5410 at 192.168.72.45:5060) State EXECUTE
>
> 2010-02-25 16:51:11.328635 [DEBUG] mod_sofia.c:181 sofia/internal/
> 5410 at 192.168.72.45:5060 SOFIA EXECUTE
>
> 2010-02-25 16:51:11.328635 [DEBUG] switch_core_state_machine.c:159
> sofia/internal/5410 at 192.168.72.45:5060 Standard EXECUTE
>
> EXECUTE sofia/internal/5410 at 192.168.72.45:5060set(effective_caller_id_number=4257405410)
>
> 2010-02-25 16:51:11.328635 [DEBUG] mod_dptools.c:811 sofia/internal/
> 5410 at 192.168.72.45:5060 SET [effective_caller_id_number]=[4257405410]
>
> EXECUTE sofia/internal/5410 at 192.168.72.45:5060bridge(openzap/smg_prid/a/3491045 at g1
> )
>
> 2010-02-25 16:51:11.339637 [ERR] switch_core_session.c:357 Could not locate
> channel type openzap
>
> 2010-02-25 16:51:11.339637 [ERR] switch_ivr_originate.c:2411 Cannot create
> outgoing channel of type [openzap] cause: [CHAN_NOT_IMPLEMENTED]
>
> 2010-02-25 16:51:11.339637 [DEBUG] switch_ivr_originate.c:3209 Originate
> Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]
>
> 2010-02-25 16:51:11.339637 [INFO] mod_dptools.c:2346 Originate Failed.
> Cause: CHAN_NOT_IMPLEMENTED
>
CHAN_NOT_IMPLEMENTED implies that OpenZAP did not load. Capture the output
of "load mod_openzap" and look for the reason that it is failing to load.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100226/c722137c/attachment-0002.html
More information about the FreeSWITCH-users
mailing list