[asterisk-users] Asterisk Executing outbound dial number twice

motty.cruz motty.cruz at gmail.com
Fri Oct 28 10:51:48 CDT 2011


I must say that this only happens when dial the number first and then hit
the Speaker button on my Phone.  

host*CLI> sip show peer 4783


  * Name       : 4783
  Remote Secret: <Not set>
  Context      : sipphones
  Subscr.Cont. : <Not set>
  Language     : 
  AMA flags    : Unknown
  Transfer mode: open
  CallingPres  : Presentation Allowed, Not Screened
  Callgroup    : 
  Pickupgroup  : 
  MOH Suggest  : 
  Mailbox      : 4783
  VM Extension : asterisk
  LastMsgsSent : 32767/65535
  Call limit   : 99
  Max forwards : 0
  Dynamic      : Yes
  Callerid     : "Joe" <4783>
  MaxCallBR    : 384 kbps
  Expire       : -1
  Insecure     : no
  Force rport  : Yes
  ACL          : No
  DirectMedACL : No
  T.38 support : No
  T.38 EC mode : Unknown
  T.38 MaxDtgrm: -1
  DirectMedia  : No
  PromiscRedir : No
  User=Phone   : No
  Video Support: No
  Text Support : No
  Ign SDP ver  : No
  Trust RPID   : No
  Send RPID    : Yes
  Subscriptions: Yes
  Overlap dial : No
  DTMFmode     : rfc2833
  Timer T1     : 500
  Timer B      : 32000
  ToHost       : 
  Addr->IP     : (null)
  Defaddr->IP  : (null)
  Prim.Transp. : UDP
  Allowed.Trsp : UDP
  Def. Username: 4783
  SIP Options  : (none)
  Codecs       : 0xc (ulaw|alaw)
  Codec Order  : (ulaw:20,alaw:20)
  Auto-Framing :  No 
  100 on REG   : No
  Status       : Unmonitored
  Useragent    : 
  Reg. Contact : 
  Qualify Freq : 60000 ms
  Sess-Timers  : Accept
  Sess-Refresh : uas
  Sess-Expires : 1800 secs
  Min-Sess     : 90 secs
  RTP Engine   : asterisk
  Parkinglot   : 
  Use Reason   : No
  Encryption   : No

host*CLI> sip show peers
Name/username              Host                                    Dyn
Forcerport ACL Port     Status     
4700/4700                  xx.xx.x40.153                             D   N
64311    Unmonitored 
4701/4701                  xx.xx.x40.153                             D   N
60337    Unmonitored 
4702/4702                  xx.xx.x40.153                             D   N
52944    Unmonitored 
4703/4703                  xx.xx.x40.153                             D   N
60164    Unmonitored 
4704/4704                  xx.xx.x40.153                             D   N
58680    Unmonitored 
4705/4705                  xx.xx.x40.153                             D   N
61597    Unmonitored 
4706/4706                  xx.xx.x40.153                             D   N
61078    Unmonitored 
4707/4707                  xx.xx.x40.153                             D   N
65369    Unmonitored 
4708/4708                  xx.xx.x40.153                             D   N
59609    Unmonitored 
4709/4709                  (Unspecified)                            D   N
0        Unmonitored 
4710/4710                  xx.xx.x40.153                             D   N
54367    Unmonitored 
4711/4711                  xx.xx.x40.153                             D   N
53463    Unmonitored 
4712/4712                  xx.xx.x40.153                             D   N
58793    Unmonitored 
4713/4713                  xx.xx.x40.153                             D   N
59660    Unmonitored 
4714/4714                  xx.xx.x40.153                             D   N
64884    Unmonitored 
4715/4715                  xx.xx.x40.153                             D   N
54652    Unmonitored 
4716/4716                  xx.xx.x40.153                             D   N
50248    Unmonitored 
4717/4717                  xx.xx.x40.153                             D   N
59925    Unmonitored 
4718/4718                  xx.xx.x40.153                             D   N
61342    Unmonitored 
4719/4719                  xx.xx.x40.153                             D   N
60658    Unmonitored 
4720/4720                  xx.xx.x40.153                             D   N
62350    Unmonitored 
4721/4721                  xx.xx.x40.153                             D   N
61056    Unmonitored 
4722/4722                  xx.xx.x40.153                             D   N
55332    Unmonitored 
4723/4723                  xx.xx.x40.153                             D   N
53737    Unmonitored 
4724/4724                  xx.xx.x40.153                             D   N
60879    Unmonitored 
4725/4725                  xx.xx.x40.153                             D   N
57231    Unmonitored 
4726/4725                  xx.xx.x40.153                             D   N
59890    Unmonitored 
4727/4727                  xx.xx.x81.90                             D   N
5060     Unmonitored 
4728/4728                  (Unspecified)                            D   N
0        Unmonitored 
4729/4729                  xx.xx.x40.153                             D   N
63637    Unmonitored 
4734/4734                  xx.xx.x40.153                             D   N
53625    Unmonitored 
4738/4738                  xx.xx.x40.153                             D   N
60635    Unmonitored 
4740/4740                  xx.xx.x40.153                             D   N
57496    Unmonitored 
4741/4741                  xx.xx.x40.153                             D   N
57791    Unmonitored 
4742/4742                  xx.xx.x40.153                             D   N
54433    Unmonitored 
4743/4743                  xx.xx.x40.153                             D   N
61163    Unmonitored 
4744/4744                  xx.xx.x37.12                           D   N
54960    Unmonitored 
4745/4745                  xx.xx.x40.153                             D   N
63647    Unmonitored 
4746/4746                  xx.xx.x40.153                             D   N
53568    Unmonitored 
4747/4747                  xx.xx.x40.153                             D   N
55274    Unmonitored 
4748/4748                  xx.xx.x40.153                             D   N
63008    Unmonitored 
4749/4749                  xx.xx.x40.153                             D   N
61086    Unmonitored 
4750/4750                  xx.xx.x40.153                             D   N
61331    Unmonitored 
4751/4751                  xx.xx.x40.153                             D   N
61868    Unmonitored 
4752/4752                  xx.xx.x40.153                             D   N
58973    Unmonitored 
4753/4753                  xx.xx.x40.153                             D   N
61156    Unmonitored 
4754/4754                  xx.xx.x40.153                             D   N
58950    Unmonitored 
4755/4755                  xx.xx.x40.153                             D   N
61636    Unmonitored 
4756/4756                  xx.xx.x40.153                             D   N
64200    Unmonitored 
4757/4757                  xx.xx.x40.153                             D   N
50551    Unmonitored 
4758/4758                  xx.xx.x40.153                             D   N
62691    Unmonitored 
4759/4759                  xx.xx.x40.153                             D   N
64134    Unmonitored 
4760/4760                  xx.xx.x40.153                             D   N
63190    Unmonitored 
4783/4783                  xx.xx.x40.153                             D   N
55422    Unmonitored 
4930/4930                  (Unspecified)                            D   N
0        Unmonitored 
4931/4931                  (Unspecified)                            D   N
0        Unmonitored 
4932/4932                  (Unspecified)                            D   N
0        Unmonitored 
4940/4940                  (Unspecified)                            D   N
0        Unmonitored 
4941/4941                  (Unspecified)                            D   N
0        Unmonitored

Thanks, 
-motty

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: Friday, October 28, 2011 8:21 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Asterisk Executing outbound dial number twice

Now "sip show peers" and "sip show peer 4783"

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of motty.cruz
Sent: Friday, October 28, 2011 9:29 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Asterisk Executing outbound dial number twice

 Hello, here is a complete log when dialing an ext, as you can see is
executed twice the dialed Ext.
 
-- Executing [4783 at sipphones:1] Dial("SIP/4757-0003eb31", "SIP/4783,20,t")
in new stack
  == Extension Changed 4757[sipphones] new state InUse for Notify User 4743
  == Extension Changed 4757[sipphones] new state InUse for Notify User 4757
  == Extension Changed 4757[sipphones] new state InUse for Notify User 4711
[Oct 28 07:17:13] WARNING[5271]: app_dial.c:2041 dial_exec_full: Unable to
create channel of type 'SIP' (cause 20 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [4783 at sipphones:2] VoiceMail("SIP/4757-0003eb31",
"4783 at default,u") in new stack
    -- <SIP/4757-0003eb31> Playing 'vm-theperson.gsm' (language 'en')
  == Spawn extension (sipphones, 4783, 2) exited non-zero on
'SIP/4757-0003eb31'
  == Extension Changed 4757[sipphones] new state Idle for Notify User 4743
  == Extension Changed 4757[sipphones] new state Idle for Notify User 4757
(queued)
  == Extension Changed 4757[sipphones] new state Idle for Notify User 4711
  == Using SIP RTP CoS mark 5
    -- Executing [4783 at sipphones:1] Dial("SIP/4757-0003eb32",
"SIP/4783,20,t") in new stack
[Oct 28 07:17:13] WARNING[5272]: app_dial.c:2041 dial_exec_full: Unable to
create channel of type 'SIP' (cause 20 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Extension Changed 4757[sipphones] new state InUse for Notify User 4743
  == Extension Changed 4757[sipphones] new state InUse for Notify User 4757
(queued)
  == Extension Changed 4757[sipphones] new state InUse for Notify User 4711 
    -- Executing [4783 at sipphones:2] VoiceMail("SIP/4757-0003eb32",
"4783 at default,u") in new stack
    -- <SIP/4757-0003eb32> Playing 'vm-theperson.gsm' (language 'en')
  == Spawn extension (sipphones, 4783, 2) exited non-zero on
'SIP/4757-0003eb32'
  == Extension Changed 4757[sipphones] new state Idle for Notify User 4743
  == Extension Changed 4757[sipphones] new state Idle for Notify User 4757
(queued)
  == Extension Changed 4757[sipphones] new state Idle for Notify User 4711 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Patrick Lists
Sent: Thursday, October 27, 2011 4:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Executing outbound dial number twice

On 10/28/2011 01:02 AM, motty.cruz wrote:
> Hello,
> I noticed Asterisk 1.8.4.1 execute number dial twice
>
> Log
>
>   == Using SIP RTP CoS mark 5
>      -- Executing [912066604 at sipphones:1] Set("SIP/4773-0003e920",
> "CALLERID(num)=2066604") in new stack
>    == Extension Changed 4773[sipphones] new state InUse for Notify 
> User
4701
>      -- Executing [912066604 at sipphones:2] Dial("SIP/4773-0003e920",
> "SIP/att/xxxxxxx,80") in new stack

I still only see one Set and one Dial.

Regards,
Patrick

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1834 / Virus Database: 2092/4579 - Release Date: 10/27/11


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1834 / Virus Database: 2092/4579 - Release Date: 10/27/11




More information about the asterisk-users mailing list