Hi Again Neil,
I just noticed your dial string is incorrect. The correct syntax is:
OpenZAP/<span>/<chan_code>/[number]
The span and chan code are mandatory. The number is optional ( FXS channels do not require a number, they just ring the FXO device connected to them).
The span is either a number ( span id, the id is a number assigned in the order in which the span is defined in openzap.conf ) or a span name also as specified in the [span wanpipe <span_name>] line in openzap.conf
The chan code is either a number ( for spans that support individual channel selection, boost is NOT one of them ), or a channel hunting mode, there is currently 2 modes, "a" is top down and "A" is bottom up.
So, this is a valid string for you case:
OpenZAP/smg_prid/a/<number>
In the specific case of boost in socket mode ( openzap only supports socket mode ) the number may contain @gX where X is a group ( for hunting as configured in /etc/wanpipe/smg_pri.conf). Boost signaling are a special case because the hunting for channels is not done within FreeSWITCH but in sangoma_prid binary ( in the new OpenZAP version called FreeTDM this has changed depending on configuration).
Bottom line, this should work:
OpenZAP/smg_prid/a/1234@g1
If you have g1 configured in /etc/wanpipe/smg_pri.conf
Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e.
moy@sangoma.com