tir, 25.09.2007 kl. 09.33 -0600, skrev Oscar A. Valdez:
> I have a very simple setup with a Digium TDM02B card and a bunch of SIP
> softphones (Gnome Ekiga), on a callweaver-1.2-0.1.20070808svn server.
> 
> /etc/zaptel.conf:
> 
> loadzone=us
> defaultzone=us
> fxsks=3,4
> ++++++++++++++++++++++++++++++++++++++++
> /etc/callweaver/zapata.conf :
> 
> [channels]
> context=incoming
> signalling=fxs_ks
> usecallerid=yes
> hidecallerid=no
> callwaiting=no
> threewaycalling=yes
> transfer=yes
> echocancel=yes
> echotraining=yes
> group=1
> channel => 3
> channel => 4
> ++++++++++++++++++++++++++++++++++++++++
> /etc/callweaver/sip.conf:
> 
> [general]
> context=default
> 
> [ovaldez]
> type=friend
> secret=welcome
> qualify=yes
> nat=no
> host=dynamic
> canreinvite=no
> context=internal
> 
> (and other similar SIP channels)
> ++++++++++++++++++++++++++++++++++++++++
> /etc/callweaver/extensions.conf:
> 
> [globals]
> TRUNK=Zap/g1
> 
> [incoming]
> exten => s,1,Dial(SIP/lclaros&SIP/mvasquez,10,o)
> exten => s,2,Dial(SIP/fmartinez&SIP/ovaldez,10,o)
> exten => s,3,Dial(SIP/csermeno&SIP/rgamez,30,o)
> exten => s,4,Hangup( )
> 
> [internal]
> include => outbound
> exten => 250,1,Dial(SIP/ovaldez)
> exten => 251,1,Dial(SIP/fmartinez)
> exten => 252,1,Dial(SIP/lclaros)
> exten => 253,1,Dial(SIP/mvasquez)
> exten => 254,1,Dial(SIP/csermeno)
> exten => 255,1,Dial(SIP/rgamez)
> 
> [outbound]
> exten => _9NXXXXXXX,1,Dial(${TRUNK}/3779290${EXTEN:1})
> exten => _9NXXXXXXX,2,Congestion( )
> ++++++++++++++++++++++++++++++++++++++++
> 
> Internal calls between the SIP extensions works perfectly, as well as
> the outbound context. The problem is the incoming context: here's the
> output from the CLI:
> 
>     -- Starting simple switch on 'Zap/3-1'
> Sep 25 09:27:58 ERROR[3085245328]: chan_zap.c:5998 ss_thread: Zap/3-1:
> ring timeout reached with no data or events?!?
>     -- Hungup 'Zap/3-1'
>     -- Starting simple switch on 'Zap/3-1'
> Sep 25 09:28:08 ERROR[3085245328]: chan_zap.c:5998 ss_thread: Zap/3-1:
> ring timeout reached with no data or events?!?
>     -- Hungup 'Zap/3-1'
>     -- Starting simple switch on 'Zap/3-1'
> Sep 25 09:28:18 ERROR[3085245328]: chan_zap.c:5998 ss_thread: Zap/3-1:
> ring timeout reached with no data or events?!?
>     -- Hungup 'Zap/3-1'
>     -- Starting simple switch on 'Zap/3-1'
> Sep 25 09:28:28 ERROR[3085245328]: chan_zap.c:5998 ss_thread: Zap/3-1:
> ring timeout reached with no data or events?!?
>     -- Hungup 'Zap/3-1'
>     -- Starting simple switch on 'Zap/3-1'
> Sep 25 09:28:38 ERROR[3085245328]: chan_zap.c:5998 ss_thread: Zap/3-1:
> ring timeout reached with no data or events?!?
>     -- Hungup 'Zap/3-1'
>     -- Starting simple switch on 'Zap/3-1'
>     -- Zap/3-1: Done CID/distinctive ring detection:
> cadence=1280,4060,960,0,0
>   == Starting Zap/3-1 at incoming,,1 failed so falling back to exten 's'
Take a look at the line above. It tries to send the call to
incoming,NOTHING,1 and probably falls back to exten s after the 40
seconds you mentioned. I have no experience with analog Zap so I don't
know if what you are seeing is normal behaviour, although I doubt it,
but I do believe that if you add the following it will work:

exten => !,1,Dial(SIP/lclaros&SIP/mvasquez,10,o)
exten => !,2,Dial(SIP/fmartinez&SIP/ovaldez,10,o)
exten => !,3,Dial(SIP/csermeno&SIP/rgamez,30,o)
exten => !,4,Hangup

( !          wildcard, matches zero or more characters immediately)


This is probably just a workaround. It _should_ go to the s exten
immediately.

 
>     -- Executing Dial("Zap/3-1", SIP/lclaros&SIP/mvasquez,10,o)
>     -- Called lclaros
>     -- Called mvasquez
>     -- SIP/lclaros-6d69 is ringing
>     -- SIP/mvasquez-5d5a is ringing
>     -- SIP/mvasquez-5d5a answered Zap/3-1
>   == Spawn extension (incoming, s, 1) exited non-zero on 'Zap/3-1'
>     -- Hungup 'Zap/3-1'
> 
> A full 40 seconds elapsed before the call was bridged to the priority 1
> application in the incoming context. I'll appreciate tips on how to
> correct this behaviour.

Attachment: signature.asc
Description: Dette er en digitalt signert meldingsdel

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to