X-Lite (SIP Phone) -> Asterisk -> Cell Phone (Analog P

Hi,

I have a TDM10B card installed on a Desktop Computer running Ubuntu 6.06 TLS.

I have the phone line from the wall terminating on the 1st port on the TDM10B card and the LED is on.

I have successfully installed Asterisk (zaptel, libpri, asterisk).

On my X-Lite Application, I have been able to successfully registered an user.

However, I wish to call my cell-phone from the X-Lite. Thats all.

Here are my outputs:


root@wicell:/etc# ztcfg -vv

Zaptel Version: 1.4.3
Echo Canceller: MG2
Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)

1 channels configured.

zapata.conf

[channels]

signalling=fxo_ks
echocancel=yes;
echocancelwhenbridged=yes
echotraining=400;
callerid=asreceived
group=1
;context=default;
channel => 1-4

extensions.conf
[tutorial]
exten => _519XXXXXXX,1,Dial(Zap/1)

sip.conf
[general]
bindport=5060;
bindaddr=0.0.0.0;
srvlookup=yes;

;context=default
[wicell]
type=friend
username=wicell
secret= wicell
nat=yes
host=dynamic
reinvite=no
allow=ulaw
allow=g723.1
allow=g729
allow=gsm
context=tutorial

wicell*CLI> module reload
[Jun 27 23:06:35] NOTICE[20752]: cdr.c:1283 do_reload: CDR simple logging enabled.
[Jun 27 23:06:35] NOTICE[20752]: indications.c:505 ast_unregister_indication_country: Removed default indication country ‘us’
[Jun 27 23:06:35] WARNING[20752]: res_smdi.c:746 reload: No SMDI interfaces were specified to listen on, not starting SDMI listener.
[Jun 27 23:06:35] NOTICE[20752]: pbx_ael.c:3915 pbx_load_module: Starting AEL load process.
[Jun 27 23:06:35] NOTICE[20752]: pbx_ael.c:3922 pbx_load_module: AEL load process: calculated config file name ‘/etc/asterisk/extensions.ael’.
[Jun 27 23:06:35] WARNING[20752]: ael.y:205 ael_yyparse: ==== File: /etc/asterisk/extensions.ael, Line 112, Cols: 34-34: Warning! The empty context ael-dundi-e164-canonical will be IGNORED!
[Jun 27 23:06:35] WARNING[20752]: ael.y:205 ael_yyparse: ==== File: /etc/asterisk/extensions.ael, Line 120, Cols: 34-34: Warning! The empty context ael-dundi-e164-customers will be IGNORED!
[Jun 27 23:06:35] WARNING[20752]: ael.y:205 ael_yyparse: ==== File: /etc/asterisk/extensions.ael, Line 128, Cols: 33-33: Warning! The empty context ael-dundi-e164-via-pstn will be IGNORED!
[Jun 27 23:06:35] NOTICE[20752]: pbx_ael.c:3930 pbx_load_module: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Jun 27 23:06:35] WARNING[20752]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-canonical’ cannot be found.
[Jun 27 23:06:35] WARNING[20752]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-customers’ cannot be found.
[Jun 27 23:06:35] WARNING[20752]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-via-pstn’ cannot be found.
[Jun 27 23:06:35] WARNING[20752]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context ‘ael-parkedcalls’ cannot be found.
[Jun 27 23:06:35] NOTICE[20752]: pbx_ael.c:3933 pbx_load_module: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Jun 27 23:06:35] NOTICE[20752]: pbx_ael.c:3935 pbx_load_module: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Jun 27 23:06:35] NOTICE[20752]: pbx_ael.c:3938 pbx_load_module: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-local’ tries includes nonexistent context ‘ael-parkedcalls’
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-canonical’
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-customers’
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-via-pstn’
[Jun 27 23:06:35] NOTICE[20752]: pbx_ael.c:3941 pbx_load_module: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-local’ tries includes nonexistent context ‘ael-parkedcalls’
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-canonical’
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-customers’
[Jun 27 23:06:35] WARNING[20752]: pbx.c:6250 ast_context_verify_includes: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-via-pstn’
[Jun 27 23:06:35] NOTICE[20752]: app_playback.c:455 reload: Reloading say.conf
[Jun 27 23:06:57] WARNING[28892]: app_dial.c:1099 dial_exec_full: Unable to create channel of type ‘Zap’ (cause 0 - Unknown)

Thanks,
Karun

hi,
u have channels 1=>4 why its saying 1 channels configured whn u write ztcfg -vv
check this out. thast why its nt able to make zap channel. also reload chan_zap.so
then do ztcfg -vvvv
and
it will work and also define context where call will land in zapata.conf
for outgoing do Dial(ZAP/g1/${EXTEN})

regards,

[b]Jehanzaib Younis

+92.111.874.874 Ext: 2558
+92.321.5139853
jehanzaib.younis@trgcustomersolutions.com
trgcustomersolutions.com[/b]