linksys pap2t ATA

All installation and configuration problems and questions

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

linksys pap2t ATA

Postby badboy2 » Wed Sep 05, 2007 8:20 pm

I tried using linksys PAP2T on asterisk and the 2 fxo ports worked. The 2 lines can make outbound calls manually. It registers on sip show peers on the CLI. I tried using linksys pap2t on vicidial and only 1port or line works at a time. It seems like line2 doesnt work because line1 already registered the ip address of the ATA or vice versa. Any ideas about this? Does ATAs with many wont work with vicidial? Thanks!
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

Postby Op3r » Thu Sep 06, 2007 6:03 am

pap2 is compatible with vicidial.

Youre missing something here. Check if they have both different sip accounts. and also check on the phone section of the managers interface and see if you add the other sip account.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

linksys pap2t ATA

Postby badboy2 » Thu Sep 06, 2007 1:21 pm

yes. the sip accounts can login using softphones and can make outgoing calls manually. so the extensions are good. the pap2t lines works with vicidial one at a time but not at the same time. so when i log out line1 from vicidial line2 can login and that line will ring and receive leads normally. If line1 logs in to vicidial it will ring but when line2 logs in with line1 currently logged in line2 will not ring. both lines can make outgoing calls manually on the dial pad. Anyway, i will check it out later again and post if i found the answer. Thank you for the prompt reply. Cheers!
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

Postby ramindia » Thu Sep 06, 2007 3:26 pm

Hi

i suggest

line1 try to register with 5060 default
even line2 try to register with 5060 default

so try changing line2 from 5060 to 5061 or 62, it should work both the phones

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

linksys pap2t

Postby badboy2 » Thu Sep 06, 2007 3:36 pm

Here some sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0
context = default

[1011]
context=default
disallow=all
allow=g729
allow=ulaw
type=friend
username=1011
secret=****
host=dynamic
qualify=no
canreinvite=no
dtmfmode=rfc2833
callerid=8006559902

[1012]
context=default
disallow=all
allow=g729
allow=ulaw
type=friend
username=1012
secret=****
host=dynamic
qualify=no
canreinvite=no
dtmfmode=rfc2833
callerid=8006559902
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

Postby ramindia » Thu Sep 06, 2007 4:25 pm

Hi

i was not refering the sip.conf

i was refering pap2 config from browser http://deviceip/admin

another thing, how come your both user have same caller ID



callerid=8006559902


ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

linksys pap2t

Postby badboy2 » Thu Sep 06, 2007 6:56 pm

my boss wants all outgoing calls to have same callerid.Anyway i can remove it since i have Setcallerid() function on my extensions.conf.. I will check about the pp2t problem a bit later
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

Postby ramindia » Thu Sep 06, 2007 11:17 pm

Hi

vicidial sends as a caller ID

even though you have put something here

check in the campaign what caller ID need to send

and make sure your SIP provider support the custom callerID's

if not all your calls will be discarded

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

linksys pap2t

Postby badboy2 » Fri Sep 07, 2007 4:39 pm

sir,

my boss wants to have same callerid on all outgoing calls done manually on the dial pad and vicidial campaigns. even if u put a callerid on the campaign and ur just doing a manual dial on the dialpad callerid wont appear. thats why i have setcallerid() on the dial plan. Anyway, i tried having same 5060 on the papt2 web config it doesnt work. I tried line1 as 5060 and line2 as 5061 still it doesnt work. same thing. only one line works at a time. I reinstalled and still the same. sip accounts can dial manually on the dial ad. they can login to vicidial but one at a time. that means 5agents can login to vicidial but they will use 5 linksys papt2 ATAs. using softphones are ok. 5agents can dial using 5softphones and vicidial. I will try again a bit later. Cheers!
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

Postby badboy2 » Fri Sep 07, 2007 5:11 pm

Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/1017-081a7bc0 was answered.
-- Executing MeetMe("SIP/1017-081a7bc0", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Refreshing DNS lookups.
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Got SIP response 488 "Not Acceptable Here" back from 192.168.1.240
> Channel SIP/1018-081d0988 was never answered.
Sep 7 18:02:50 WARNING[10902]: cdr.c:566 ast_cdr_disposition: Cause not handled
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Hungup 'Zap/pseudo-2034278101'
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1017-081a7bc0'
-- Executing DeadAGI("SIP/1017-081a7bc0", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/1017-081a7bc0", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
-- Registered SIP '1018' at 192.168.1.240 port 5060 expires 3600
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Got SIP response 488 "Not Acceptable Here" back from 192.168.1.240
> Channel SIP/1018-081c34d8 was never answered.
Sep 7 18:04:54 WARNING[11037]: cdr.c:566 ast_cdr_disposition: Cause not handled
== Manager 'sendcron' logged off from 127.0.0.1
Sep 7 18:04:56 WARNING[3130]: channel.c:780 channel_find_locked: Avoided initial deadlock for '0x81ae8e0', 9 retries!
> Channel SIP/1017-081bdf98 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing MeetMe("SIP/1017-081bdf98", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Hungup 'Zap/pseudo-1062344639'
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1017-081bdf98'
-- Executing DeadAGI("SIP/1017-081bdf98", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/1017-081bdf98", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/1018-081a7bc0 was answered.
-- Executing MeetMe("SIP/1018-081a7bc0", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Got SIP response 488 "Not Acceptable Here" back from 192.168.1.240
> Channel SIP/1017-081d0988 was never answered.
Sep 7 18:05:41 WARNING[11113]: cdr.c:566 ast_cdr_disposition: Cause not handled
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Hungup 'Zap/pseudo-721950499'
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1018-081a7bc0'
-- Executing DeadAGI("SIP/1018-081a7bc0", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/1018-081a7bc0", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Registered SIP '1018' at 192.168.1.240 port 5062 expires 3600
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Remote UNIX connection
== Refreshing DNS lookups.
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/1017-081a7bc0 was answered.
-- Executing MeetMe("SIP/1017-081a7bc0", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Got SIP response 488 "Not Acceptable Here" back from 192.168.1.240
> Channel SIP/1018-081d0988 was never answered.
Sep 7 18:08:31 WARNING[11309]: cdr.c:566 ast_cdr_disposition: Cause not handled
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Hungup 'Zap/pseudo-43329862'
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1017-081a7bc0'
-- Executing DeadAGI("SIP/1017-081a7bc0", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/1017-081a7bc0", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

linksys pap2t

Postby badboy2 » Fri Sep 07, 2007 5:29 pm

I solved the problem. I adjusted the codecs in the ATAs and both of them worked. So it is just about the codecs. Initially I set it to g729 codecs only. I enabled all other codecs and it worked. Cheers!
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 146 guests