[asterisk-users] Asterisk + zap + sangoma A104D - how to setup call using particular timeslot
Tony Mountifield
tony at softins.clara.co.uk
Thu Jun 19 15:12:05 CDT 2008
In article <485AB241.1050708 at ccig.pl>,
Marcin J. Kowalczyk <marcin.kowalczyk at ccig.pl> wrote:
>
> I need to setup call using particular timeslot on one of E1's. I've
> looked into
> http://www.voip-info.org/wiki/index.php?page=Asterisk+Zap+channels and
> it says that:
>
> exten => TestTrakt,1,Dial(ZAP/1-2/517255333)
> exten => TestTrakt,2,hangup
>
> should work and force call setup via span 1 (port 1) but when I try
> setup call rasterisk says:
>
> -- Executing [TestTrakt at na-miasto:1] Dial("SIP/sempron-b2ae1918",
> "ZAP/1-2/517255333") in new stack
> [Jun 19 21:22:20] WARNING[23814]: chan_zap.c:7966 zt_request: Unknown
> option '-' in '1-2/517255333'
> -- Requested transfer capability: 0x00 - SPEECH
> -- Called 1-2/517255333
> -- Hungup 'Zap/1-1'
> == Spawn extension (na-miasto, TestTrakt, 1) exited non-zero on
> 'SIP/sempron-b2ae1918'
>
>
> any idea how to force Asterisk to push call via particular timeslot?
Not sure where you got the idea to use 1-2 as the channel number.
Just use Zap/1/517255333 to call on channel 1, Zap/2/517255333 for
channel 2, etc.
The channels are as numbered in /etc/zaptel.conf and /etc/asterisk/zapata.conf
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list