Archive for the ‘Fax’ Category

T37 outbound fax from Unity – debugs

Posted: September 18, 2006 by sankar in Fax

Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_tel_num_trans:
   Mail From=OFax@iptel.com, Phone Number In=FAX=1, Phone Number Dial=
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_tel_num_trans:
   Incoming Dial-peer(Tag=202, Matched Digits=10, Destination Pattern=12742551004)
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_match_digits:
   Outgoing Peer(Tag=201, Destination Pattern=1274255100., Strip Enable=TRUE)
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_tel_num_trans:
   Incoming Dial-peer(Tag=202), Outgoing Dial-peer(Tag=201), Cover Page=FALSE
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_new_rcpt:
   Envelope To=FAX=12742551004@pstnsw.gateway.com, Length=34,
   MMccb(Incoming Dial-peer=202, Outgoing Dial-peer=201,
   Telephone Number Dial=12742551004, Sub Address=, Cover Page=FALSE
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_new_rcpt:exit@1127
Sep 17 16:49:10.907: //-1/46E6CB8B80DA/MSPI_OFF/mspi_get_ani:
   in_str=”Outgoing Fax” <OFax@iptel.com>
Sep 17 16:49:10.907: //-1/46E6CB8B80DA/MSPI_OFF/mspi_get_ani:
   in_str=OFax@iptel.com
Sep 17 16:49:10.907: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_rfc822_header:
   Envelope From=OFax@iptel.com, Size=15
   From Personal Name=Outgoing Fax
   From=”Outgoing Fax” <OFax@iptel.com>
   To=<FAX=12742551004@pstnsw.gateway.com>
    Notification Type=0
Sep 17 16:49:10.907: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_rfc822_header:
   MMccb(Called Number=12742551004, Calling Number=, Incoming Dial-peer=202)
Sep 17 16:49:10.911: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.911: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
   MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.923: ISDN Se1/0/0:23 Q931: pak_private_number: Invalid type/plan 0x0 0x1 may be overriden; sw-type 13
Sep 17 16:49:10.923: ISDN Se1/0/0:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Called num 2742551004
Sep 17 16:49:10.927: ISDN Se1/0/0:23 Q931: TX -> SETUP pd = 8  callref = 0x0093
        Bearer Capability i = 0x8090A2
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Calling Party Number i = 0x0081, N/A
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0xA1, ‘2742551004’
                Plan:ISDN, Type:National
Sep 17 16:49:10.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.931: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
   MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.939: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.939: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
   MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.943: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.943: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
   MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.947: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.947: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
   MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.951: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.951: ISDN Se1/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x8093
        Channel ID i = 0xA98381
                Exclusive, Channel 1
Sep 17 16:49:10.955: ISDN Se1/0/0:23 Q931: RX <- ALERTING pd = 8  callref = 0x8093
        Progress Ind i = 0x8088 – In-band info or appropriate now available
Sep 17 16:49:10.959: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
   MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.959: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
   Disabled Receiving!
Sep 17 16:49:21.123: ISDN Se1/0/0:23 Q931: RX <- CONNECT pd = 8  callref = 0x8093
        Display i = ‘hqph2’
Sep 17 16:49:21.127: %ISDN-6-CONNECT: Interface Serial1/0/0:0 is now connected to 2742551004 N/A
Sep 17 16:49:21.127: ISDN Se1/0/0:23 Q931: TX -> CONNECT_ACK pd = 8  callref = 0x0093
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI/mspi_bridge:
   MMccb(State=CONNECTING, Type=Offramp), Destination Call Id=166
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI/mspi_bridge:
   Offramp Rcpt Enabled
Sep 17 16:49:40.963: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.963: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:40.967: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.967: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:40.979: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.979: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:40.983: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.983: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:40.999: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.999: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.007: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.007: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.011: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.011: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.023: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.023: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.027: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.027: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.039: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.039: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.043: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.043: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.055: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.055: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.059: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.059: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.071: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.071: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.083: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.083: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.087: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.087: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
   Mime Type=12, Buffer Length=200, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   Mime Type=12
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
   BUFF_LAST
Sep 17 16:49:51.079: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on FastEthernet0/1 (not full duplex), with SCA041201H1 4/21 (full duplex).
Sep 17 16:50:17.491: //163/46E6CB8B80DA/MSPI/mspi_bridge_drop:
   MMccb(State=DESTROYING, Type=Offramp), Destination Call Id=166
Sep 17 16:50:17.503: %ISDN-6-DISCONNECT: Interface Serial1/0/0:0  disconnected from 2742551004 , call lasted 56 seconds
Sep 17 16:50:17.503: ISDN Se1/0/0:23 Q931: TX -> DISCONNECT pd = 8  callref = 0x0093
        Cause i = 0x8290 – Normal call clearing
Sep 17 16:50:17.523: ISDN Se1/0/0:23 Q931: RX <- RELEASE pd = 8  callref = 0x8093
Sep 17 16:50:17.527: ISDN Se1/0/0:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x0093
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI/mspi_call_disconnect:
   Cause Value=normal call clearing (16),
   MMccb(State=DISCONNECTING, Type=Offramp)
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI/mspi_offramp_call_history:
   MMccb(Disconnect Cause=normal call clearing (16) 16)
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI_OFF/mspi_call_get_offramp:
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI_OFF/mspi_call_get_offramp:exit@2527
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_call_history:exit@2399
Sep 17 16:50:26.567: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_dispose_context:
   MMccb(State=DISCONNECT_DONE)

Advertisements

T37 inbound fax to Unity – debugs.

Posted: September 18, 2006 by sankar in Fax

OUtput of debug fax mspi all on T37 router. (First few lines are from debug isdn q931 to show the fax call come into the t37 router)

A successful fax inbound from the router to Unity will throw the following debugs.

PSTNSw#
Sep 17 14:55:15.972: ISDN Se1/0/0:23 Q931: RX <- SETUP pd = 8  callref = 0x0009
        Bearer Capability i = 0x8090A2
                Standard = CCITT
                Transfer Capability = Speech 
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98383
                Exclusive, Channel 3
        Display i = ‘hq vg248’
        Calling Party Number i = 0x0081, ‘2742551004’
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, ‘16285253800’
                Plan:Unknown, Type:Unknown
Sep 17 14:55:16.016: %ISDN-6-CONNECT: Interface Serial1/0/0:2 is now connected to 2742551004 N/A
Sep 17 14:55:16.016: ISDN Se1/0/0:23 Q931: TX -> CALL_PROC pd = 8  callref = 0x8009
        Channel ID i = 0xA98383
                Exclusive, Channel 3
Sep 17 14:55:16.016: ISDN Se1/0/0:23 Q931: TX -> CONNECT pd = 8  callref = 0x8009
Sep 17 14:55:16.032: ISDN Se1/0/0:23 Q931: RX <- CONNECT_ACK pd = 8  callref = 0x0009
Sep 17 14:55:29.132: //137/5CF666368032/MSPI_ON/mspi_call_setup_request:
   Outgoing Peer Tag=204
   Envelope From=FAX=2742551004@pstnsw.gateway.com
   Envelope To=ifax@iptel.com
   Mime Outer Type=2
Sep 17 14:55:30.132: //137/5CF666368032/MSPI_ON/mspi_check_connect:
   MMccb(Count=0)
Sep 17 14:55:30.132: //137/5CF666368032/MSPI_ON/mspi_check_connect:
   SMTP Connected To The Server !
Sep 17 14:55:30.132: //137/5CF666368032/MSPI/mspi_bridge:
   MMccb(State=CONNECTED, Type=Onramp), Destination Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=0),
   Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=1),
   Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=2),
   Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=3),
   Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=4),
   Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=5),
   Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=6),
   Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=7),
   Source Call Id=138
Sep 17 14:55:42.484: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=8),
   Source Call Id=138
Sep 17 14:55:42.484: //137/5CF666368032/MSPI_ON/mspi_xmit:
   MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=9),
   Source Call Id=138
Sep 17 14:55:42.484: //137/5CF666368032/MSPI_ON/mspi_onramp_xmit:
   EOD Received
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=10)
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=9)
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=8)
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=7)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=6)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=5)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=4)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=3)
Sep 17 14:55:43.768: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=2)
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   MMccb(Call State=CONFERENCED, Buffer Count=1)
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   EOD Received; Status=0
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   Message Id=00012006095531752@PSTNSw.iptel.com
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
   Defer Destroying
Sep 17 14:55:46.932: //137/5CF666368032/MSPI_ON/mspi_onramp_defer_disconnect:
   MMccb(Call State=DESTROYING)
Sep 17 14:55:46.932: //137/5CF666368032/MSPI_ON/mspi_onramp_defer_disconnect:
   Send Disconnect Event
Sep 17 14:55:46.932: //137/5CF666368032/MSPI/mspi_bridge_drop:
   MMccb(State=DESTROYING, Type=Onramp), Destination Call Id=138
Sep 17 14:55:46.932: //137/5CF666368032/MSPI/mspi_call_disconnect:
   Cause Value=normal call clearing (16),
   MMccb(State=DISCONNECTING, Type=Onramp)
Sep 17 14:55:46.932: //137/5CF666368032/MSPI_ON/mspi_onramp_call_history:
   MMccb(Disconnect Cause=normal call clearing (16) 16)
Sep 17 14:55:46.932: //-1/xxxxxxxxxxxx/MSPI/mspi_free_ccb:
   Total Allocated MMccbs=1, Total Inserted MMccbs=0
Sep 17 14:55:46.940: %ISDN-6-DISCONNECT: Interface Serial1/0/0:2  disconnected from 2742551004
, call lasted 30 seconds
Sep 17 14:55:46.944: ISDN Se1/0/0:23 Q931: TX -> DISCONNECT pd = 8  callref = 0x8009
        Cause i = 0x8290 – Normal call clearing
Sep 17 14:55:46.960: ISDN Se1/0/0:23 Q931: RX <- RELEASE pd = 8  callref = 0x0009
Sep 17 14:55:46.964: ISDN Se1/0/0:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x8009

T37 fax inbound/outbound with Unity 4.0(5)

Posted: September 18, 2006 by sankar in Fax

Enable DNS resolution: 

ip domain-lookup

ip name-server <Unity server>

ip domain-name gateway.com (domain of gateway)

Enable T37: 

fax interface-type fax-mail  —- (reload the router)

Enable T37 Onramp: (Think of Onramp as coming ON to the network)
mta send server unity40.iptel.com port 25  —- (mail server – unity in this case)
mta send with-subject both —– (sends ani and dnis in subject)
mta send mail-from hostname pstnsw.gateway.com  ———– (Mail from hostname)
mta send mail-from username $s$
mta send return-receipt-to hostname pstnsw.gateway.com ———— (NDR from hostname)
mta send return-receipt-to username $s$
 !

application
 service onramp flash:app_faxmail_onramp.2.0.1.3.tcl

dial-peer voice 203 pots
 service onramp
 incoming called-number 16285253800
 direct-inward-dial
!
dial-peer voice 204 mmoip
 service fax_on_vfc_onramp_app out-bound
 destination-pattern 16285253800
 information-type fax
 session target mailto:ifax@iptel.com      ——– This should be the Inbound Fax mailbox that Unity monitors.

Enable T37 Offramp: (Think of Offramp as going OFF the network)

mta receive aliases pstnsw.gateway.com ———– (receiving alias name)
mta receive maximum-recipients 10 —————- (default is 0, set this to something greater than 0)
mta receive generate permanent-error
!
application
 service offramp flash:app_faxmail_offramp.2.0.1.1.tcl

 dial-peer voice 201 pots
 destination-pattern 1274255100.
 port 1/0/0:23
 forward-digits 10
!
dial-peer voice 202 mmoip
 description Offramp inbound from Unity
 service offramp
 information-type fax
 incoming called-number 1274255100.
 dsn delayed
 dsn success
 dsn failure

MGCP & H323 IOS gateway and T38 faxing

Posted: May 28, 2006 by sankar in Analog, Fax

MGCP gateways and T38 

1. mgcp fax t38 ls_redundancy 0  OR

    mgcp fax t38 hs_redundancy 0

ls_redundancy set to 0 disables mgcp from sending redundant packets. The value can be set from  0  – 5 or 7 packets

hs_redundancy set to 0 disables mgcp from sending redundant packets for high speed fax m/c v.17, v27, v29 T.4 or T.6 fax machine. Default is 0, Can be configured up to 2 or 3.  0 disables redundancy.

Optional commands:

mgcp fax t38 gateway force  – This command forcest38 fax relay using NSE's eve if T38 and NSE's cannot be negotiated by the MGCP call agent at call setup time

mgcp fax t38 inhibit – Disables MGCP T38 fax relay.

mgcp tse payload <value>  – TSE is for Telephony signalling event. This command specifies payload value during fax and modem passthrough. Default is 100.

mgcp fax rate <rate>|voice  (Default rate is 7200 bps)

H323 gateways and T38

dial-peer voice 1 voip

fax rate voice

fax protocol t38 ls_redundancy 0

options available are : 

force – forces use of NSE;s to switch to T38 fax relay

fallback pass-through  g711ulaw | g711alaw – A fallback mode if T38 could not be negotiated.

1. Configure MGCP gateway as usual (with FXS ports).

2. Give the following commands

     no ccm-manager fax protocol   — disables cisco fax relay

     mgcp modem passthrough voip mode nse  — enables modem passthrough

     mgcp modem passthrough voip codec g711ulaw

MGCP default NSE payload types

Output of "Sh mgcp"

MGCP media bind :DISABLED
MGCP Upspeed payload type for G711ulaw: 0,  G711alaw: 8 (You may opt to match this up with ATA NSE payload type)
MGCP Dynamic payload type for G.726-16K codec
MGCP Dynamic payload type for G.726-24K codec

3. Optionally you may want to disable T38 fax relay for MGCP (which is enabled by default)

mgcp fax t38 inhibit. (Useful if you want to just have passthrough enabled, and disable t38 fax on the gateway)

ATA 186 Fax modes (H323)

Posted: May 28, 2006 by sankar in Analog, ATA186, Fax

Fax pass through – Set audio mode to 0x00150015

Fax mode – (Use direct g711 only, it doesn't do any codec upspeed.) – Set audiomode to 0x00120012

12 – corresponds to 0001 0010

bit 1 – set to 1 for g711 only

bit 2 – set to 0 to disable CED

DSCP settings for H323 and MGCP gateways

Posted: May 28, 2006 by cciestudy in Analog, ATA186, Fax, QOS

The setting below applies to packets generated by teh router itself.

For H323 gateways

Default for signaling is af31 (26). Need to change this to cs3 (24).

dial-peer voice 1500 voip
ip qos dscp cs3 signaling 

For MGCP gateways

mgcp ip qos dscp cs3 signaling