Re: [Asterisk-java-devel] Originate to Zap channel
Brought to you by:
srt
|
From: Stefan R. <sr...@re...> - 2006-08-11 07:10:51
|
Ricardo Gonzalez wrote:
> Do you mean I should use this "originateAction.setChannel("SIP/John");"=
or
> "originateAction.setChannel("ZAP/${PSTN_NUMBER}");" because when I do t=
his
> nothing goes, no ring, no call, nothing at all. I must be wrong.
The Zap string seems wrong in two ways:
1. You must specify an exact zap channel or a group or a ring group just
like in your dialplan, e.g. Zap/1/12345 or Zap/g1/12345
2. Unlike in the dialplan you can't use dialplan variables with ${...}
you must use the exact number instead.
Hope that helps
=3DStefan
--=20
reuter network consulting
Neusser Str. 110
50760 Koeln
Germany
Telefon: +49 221 1305699-0
Telefax: +49 221 1305699-90
E-Mail: sr...@re...
Jabber: sr...@ja...
|