sofphone does not ring?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

sofphone does not ring?

Postby ssin14 » Wed Jul 23, 2008 2:46 am

Everything works!

But I dont know how this new vicidial works!

Upon login my softphone does not ring! to enter conference

Does it suppose to work this way/

Thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Wed Jul 23, 2008 7:35 am

astguiclient version?

Asterisk version?

output of 'screen -r'?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Wed Jul 23, 2008 4:04 pm

I got to make it work.

now what happens is I can get call coming into my softphone but when I answer it hangs. I got this error in asterisk -r

Starting SIP/101-081bcb60 at default,8600051,1 failed so falling back to exten 's'
== Starting SIP/101-081bcb60 at default,s,1 still failed so falling back to context 'default'
Jul 24 08:59:25 WARNING[13433]: pbx.c:2377 __ast_pbx_run: Channel 'SIP/101-081bcb60' sent into invalid extension 's' in context 'default', but no invalid handler


I figuring what what may have gone wrong in my default dial plan.....

an ideas will be great.

I use astguiclient_2.0.4 version.

thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Wed Jul 23, 2008 4:25 pm

which dial plans tells its loggin properly into softphone?

below is my initial setup: Is this alright?

[globals]
CONSOLE=console/dsp
;TRUNK=Zap/g1

[Default]
exten => s,1,DIAL(SIP/res,60,tr)
exten => s,2,Hangup

exten => _1XX,1,Dial(sip/${EXTEN})
exten => _1XX,2,Hangup()

exten => _XXXXXXXXXX,1,Dial(sip/res/${EXTEN},,tTo)
exten => _XXXXXXXXXX,2,hangup()
exten => _XXXXXXXXXX,1,Dial(sip/res/${EXTEN},,tTo)
exten => _XXXXXXXXXX,2,hangup()

;vicidial scripts

exten => 8600,1,Meetme,8600
exten => 8601,1,Meetme,8601

exten => _XXXXXXXXXX,1,Answer()
exten => _XXXXXXXXXX,2,Dial(sip/res/${EXTEN})
exten => _XXXXXXXXXX,3,congestion()
; barge monitoring extension
exten => 8159,1,ZapBarge
exten => 8159,2,Hangup
; # timeout invalid rules
exten => #,1,Playback(invalid) ; "Thanks for trying the demo"
exten => #,2,Hangup ; Hang them up.
exten => t,1,Goto(#,1) ; If they take too long, give up
exten => i,1,Playback(invalid) ; "That's not valid, try again"

; Give voicemail at extension 8500
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)





##### This 'h' exten is VERY important for VICIDIAL usage,
##### you will have problems if it is not in your dialplan!
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... NODEBUG---
--${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; Extension 3429 - Inbound 800 number (1-800-555-3429)
exten => _**3429,1,Ringing
exten => _**3429,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _**3429,3,Answer
exten => _**3429,4,Dial,sip/spa2000&sip/spa2001|30|to
exten => _**3429,5,Voicemail,u2000
; Extension 3429 - with ANI [callerID]
exten => _*NXXNXXXXXX*3429,1,Ringing
exten => _*NXXNXXXXXX*3429,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _*NXXNXXXXXX*3429,3,Answer
exten => _*NXXNXXXXXX*3429,4,Dial,sip/spa2000&sip/spa2001|30|to
exten => _*NXXNXXXXXX*3429,5,Voicemail,u2000

; Extension 7275551212 - Inbound local number from PRI with 10 digit delivery
exten => 7275551212,1,Ringing
exten => 7275551212,2,Wait(1)
exten => 7275551212,3,AGI(agi://127.0.0.1:4577/call_log--fullCID--${EXTEN}-----$
{CALLERID}-----${CALLERIDNUM}-----${CALLERIDNAME})
exten => 7275551212,4,Answer
exten => 7275551212,5,Dial,sip/spa2000&sip/spa2001|30|to
exten => 7275551212,6,Voicemail,u2000

; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,

; dial a long distance outbound number to the UK
exten => _901144XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _901144XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},55,tTo)
exten => _901144XXXXXXXXXX,3,Hangup

; dial a long distance outbound number to Australia
exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},,tTo)
exten => _XXXXXXXXXX,3,Hangup

; dial an 800 outbound number
exten => _91800NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91800NXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},,tTo)
exten => _91800NXXXXXX,3,Hangup
exten => _91888NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91888NXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},,tTo)
exten => _91888NXXXXXX,3,Hangup
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Wed Jul 23, 2008 7:20 pm

still no solutions.

Channel SIP/101-081b68c0 was answered.
== Starting SIP/101-081b68c0 at default,8600051,1 failed so falling back to exten 's'
== Starting SIP/101-081b68c0 at default,s,1 still failed so falling back to context 'default'
Jul 24 12:10:36 WARNING[13577]: pbx.c:2377 __ast_pbx_run: Channel 'SIP/101-081b68c0' sent into invalid extension 's' in context 'default', but no invalid handler

same problem.....

I think everything is there?
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Wed Jul 23, 2008 8:06 pm

Is meetme loaded?

If you type "show application meetme" in Asterisk does it return information?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Wed Jul 23, 2008 8:15 pm

Your application(s) is (are) not registered

got these infor after putting that!

how to load meetme
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Wed Jul 23, 2008 10:10 pm

when doing ls /etc/asterisk

I found meetme.conf in green highlighted with "*" at end

what this indicates?
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Thu Jul 24, 2008 12:32 am

You need to recompile Asterisk AFTER you have made sure to compile zaptel.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Thu Jul 24, 2008 2:33 am

Is there anyway we can complile asterisk with loossing anything...



I havent backup my G729a codec licence yet.

Is there anyway if one has compiled zaptel after asterisk and fix things up without recompiling asterisk.

thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Thu Jul 24, 2008 9:16 am

I have never been able to make it work that way, you really need to compile zaptel and have it available fot Asterisk to use in order to build with Meetme properly.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Sun Jul 27, 2008 6:58 pm

well I recompile asterisk after compiling zaptel

Still when try to log in softphone hangs

Starting SIP/101-081ac6b0 at default,8600051,1 failed so falling back to exten 's'
== Starting SIP/101-081ac6b0 at default,s,1 still failed so falling back to context 'default'
Jul 28 11:54:06 WARNING[5382]: pbx.c:2357 __ast_pbx_run: Channel 'SIP/101-081ac6b0' sent into invalid extension 's' in context 'default', but no invalid handler

USING
asterisk-1.2.11
zaptel-1.2.9.1
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Sun Jul 27, 2008 7:07 pm

"show application meetme" shows:

-= Info about application 'MeetMe' =-

[Synopsis]
MeetMe conference bridge

[Description]
MeetMe([confno][,[options][,pin]]): Enters the user into a specified MeetMe conference.
If the conference number is omitted, the user will be prompted to enter
one.
User can exit the conference by hangup, or if the 'p' option is specified, by pressing '#'.
Please note: The Zaptel kernel modules and at least one hardware driver (or ztdummy)
must be present for conferencing to operate properly. In addition, the chan_zap
channel driver must be loaded for the 'i' and 'r' options to operate at all.

The option string may contain zero or more of the following characters:
'a' -- set admin mode
'A' -- set marked mode
'b' -- run AGI script specified in ${MEETME_AGI_BACKGROUND}
Default: conf-background.agi
(Note: This does not work with non-Zap channels in the same conference)
'c' -- announce user(s) count on joining a conference
'd' -- dynamically add conference
'D' -- dynamically add conference, prompting for a PIN
'e' -- select an empty conference
'E' -- select an empty pinless conference
'i' -- announce user join/leave
'm' -- set monitor only mode (Listen only, no talking)
'M' -- enable music on hold when the conference has a single caller
'p' -- allow user to exit the conference by pressing '#'
'P' -- always prompt for the pin even if it is specified
'q' -- quiet mode (don't play enter/leave sounds)
'r' -- Record conference (records as ${MEETME_RECORDINGFILE}
using format ${MEETME_RECORDINGFORMAT}). Default filename is
meetme-conf-rec-${CONFNO}-${UNIQUEID} and the default format is wav.
's' -- Present menu (user or admin) when '*' is received ('send' to menu)
't' -- set talk only mode. (Talk only, no listening)
'T' -- set talker detection (sent to manager interface and meetme list)
'w' -- wait until the marked user enters the conference
'x' -- close the conference when last marked user exits
'X' -- allow user to exit the conference by entering a valid single
digit extension ${MEETME_EXIT_CONTEXT} or the current context
if that variable is not defined.
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Sun Jul 27, 2008 9:44 pm

do you have 8600051 in your extensions.conf in that context?

Do you have it in the meetme.conf?

Have you turned on Asterisk debug logging and looked at the messages asterisk logfile?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Sun Jul 27, 2008 10:44 pm

Have you turned on Asterisk debug logging and looked at the messages asterisk logfile?


oops how do I get here. I think I dnt know how to debug login.

My meetme and extensions are as per scratch and its all there.
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Mon Jul 28, 2008 5:34 am

in /etc/asterisk/logger.conf add 'debug' to the messages logfile string and reload in Asterisk.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Mon Jul 28, 2008 6:55 pm

seems to me I already have that in there. Here is the output:

[logfiles]
console => notice,warning,error
messages => notice,warning,error,debug,verbose
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Tue Jul 29, 2008 7:57 am

OK, well take a look at the /var/log/messages file when this happens and see if there are any entries explaining what is going on.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Tue Jul 29, 2008 5:28 pm

I dont think it gives any specific detail on that. below is what I can see:


Jul 30 08:28:52 CYREXAsterisk sshd[8478]: Accepted password for root from 11.0.0
.5 port 1592 ssh2
Jul 30 08:50:36 CYREXAsterisk -- MARK --
Jul 30 09:10:36 CYREXAsterisk -- MARK --
Jul 30 09:30:36 CYREXAsterisk -- MARK --
Jul 30 09:50:36 CYREXAsterisk -- MARK --
Jul 30 10:10:36 CYREXAsterisk -- MARK --
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Tue Jul 29, 2008 7:48 pm

sorry, /var/log/asterisk/messages
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Wed Jul 30, 2008 8:39 pm

I have got so huge in there but was able to pick this up looking the time a logged in:

Hope u will able to find something out!

Thanks

Jul 31 13:25:51 DEBUG[5270] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '4adb9a4b4534dc6471a325717800f5ea@11.0.0.2' Request 2052: Found
Jul 31 13:25:51 DEBUG[5270] chan_sip.c: Stopping retransmission on '4adb9a4b4534dc6471a325717800f5ea@11.0.0.2' of Request 2052: Match Found
Jul 31 13:25:52 DEBUG[5270] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '4adb9a4b4534dc6471a325717800f5ea@11.0.0.2' Request 2053: Found
Jul 31 13:25:52 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:52 DEBUG[5270] chan_sip.c: Stopping retransmission on '4adb9a4b4534dc6471a325717800f5ea@11.0.0.2' of Request 2053: Match Found
Jul 31 13:25:52 DEBUG[5270] chan_sip.c: Registration successful
Jul 31 13:25:52 DEBUG[5270] chan_sip.c: Cancelling timeout 34470
Jul 31 13:25:52 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:52 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:53 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:53 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:53 DEBUG[30280] manager.c: Manager received command 'Login'
Jul 31 13:25:53 VERBOSE[30280] logger.c: == Parsing '/etc/asterisk/manager.conf': Jul 31 13:25:53 VERBOSE[30280] logger.c: == Parsing '/etc/asterisk/manager.conf': Found
Jul 31 13:25:53 VERBOSE[30280] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
Jul 31 13:25:53 DEBUG[30280] manager.c: Manager received command 'Originate'
Jul 31 13:25:53 NOTICE[30280] channel.c: Unable to request channel SIP/101
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is 's'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is 'default'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '**Unknown**'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '2008-07-31 13:25:53'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '2008-07-31 13:25:53'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '0'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '0'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is 'FAILED'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is 'DOCUMENTATION'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '1217467553.518'
Jul 31 13:25:53 DEBUG[30280] pbx.c: Function result is '(null)'
Jul 31 13:25:54 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:54 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:54 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:55 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:55 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:56 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:56 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:56 DEBUG[30280] manager.c: Manager received command 'Logoff'
Jul 31 13:25:56 VERBOSE[30280] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
Jul 31 13:25:56 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:57 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:57 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:58 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:58 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:59 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:59 DEBUG[30294] manager.c: Manager received command 'Login'
Jul 31 13:25:59 VERBOSE[30294] logger.c: == Parsing '/etc/asterisk/manager.conf': Jul 31 13:25:59 VERBOSE[30294] logger.c: == Parsing '/etc/asterisk/manager.conf': Found
Jul 31 13:25:59 VERBOSE[30294] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
Jul 31 13:25:59 DEBUG[30294] manager.c: Manager received command 'Hangup'
Jul 31 13:25:59 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:25:59 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:26:00 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:26:00 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:26:01 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:26:01 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:26:01 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:26:02 DEBUG[30294] manager.c: Manager received command 'Logoff'
Jul 31 13:26:02 VERBOSE[30294] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
Jul 31 13:26:02 DEBUG[5315] manager.c: Manager received command 'Command'
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'Login'
Jul 31 13:26:02 VERBOSE[30307] logger.c: == Parsing '/etc/asterisk/manager.conf': Jul 31 13:26:02 VERBOSE[30307] logger.c: == Parsing '/etc/asterisk/manager.conf': Found
Jul 31 13:26:02 VERBOSE[30307] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'MailboxCount'
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'Ping'
Jul 31 13:26:02 DEBUG[30309] manager.c: Manager received command 'Login'
Jul 31 13:26:02 VERBOSE[30309] logger.c: == Parsing '/etc/asterisk/manager.conf': Jul 31 13:26:02 VERBOSE[30309] logger.c: == Parsing '/etc/asterisk/manager.conf': Found
Jul 31 13:26:02 VERBOSE[30309] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
Jul 31 13:26:02 DEBUG[30309] manager.c: Manager received command 'Command'
Jul 31 13:26:02 DEBUG[30309] manager.c: Manager received command 'Ping'
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'MailboxCount'
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'Ping'
Jul 31 13:26:02 DEBUG[30309] manager.c: Manager received command 'Logoff'
Jul 31 13:26:02 VERBOSE[30309] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'MailboxCount'
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'Ping'
Jul 31 13:26:02 DEBUG[30307] manager.c: Manager received command 'Logoff'
Jul 31 13:26:02 VERBOSE[30307] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Thu Jul 31, 2008 12:50 am

Have you tried using Zoiper softphone with IAX account instead of a SIP phone?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Mon Aug 04, 2008 3:01 am

I started building own system again with 3 servers

1--asterisk
1--apache/vicidial
1--MySQL

Will post if things dont seem to work in different heading

Thanks Matt!
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 49 guests